Hello everyone. I'm a beginner level programmer and I'm trying to figure out how to display results in a PLAIN_MESSAGE. My program is converting hex to decimal and displaying the results. Here's the code:
posted 3 years ago
Welcome to the Ranch
Bases run from 2 to 36 in Java®, not 37 as you have written. Try \u2264 or another symbol from this Unicode page instead of <=; it will give a much nicer display.
You can find out about JOptionPane in the Java Tutorials; I think you want the showMessageDialog method. Why are you using JOptionPane? It is a very old‑fashioned method for keyboard input.