title: Making a number base converter in JFRAME
body: <p>So I have a JFrame file which contains 3 text boxes, a "Convert!" and a "Clear" button. The 3 text boxes are to input numbers from Hexadecimal -- Decimal -- Binary. You can input in any field pertaining to that specific number base and it'll convert that number base into the other 2 number bases. </p>
  
  <p>My question is this : How can I detect which number base I'm supposed to convert from? For example if someone does a conversion, and wants to convert again, and he inputs another value for any number base so that 2 of the values are equivalent in the number bases, and one isn't, the program would mess up as it wouldn't know which one to convert. How can I combat this problem. And if someone is doing their first conversion, how would I be able to detect if there is text in the textbook. Sorry I'm new to jframes and I barely know the syntax.</p>