Extra spaces in JLabel...Please help..
Hi guys,
While using JLabel in an applet, while displaying (i used right alignment), there are extra spaces being added to the right of the string being displayed....The string does not contain the extra spaces though because i printed to the terminal window, and it printed fine... Morever, the extra spaces are not always being inserted...I was writing a program to build a calculator, and the extra spaces were being inserted only while displaying the result, and not while taking the inputs....as I am new to java, i cannot identify the problem...Any help would be highly appreciated!! :)