Space « JLabel « Java Swing Q&A





1. Extra spaces in JLabel...Please help..    java-forums.org

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 ...

2. Space between JLabels?    forums.oracle.com

Hi, i am making a chess game, and now i made 64 JLabels, each label is collored black or white. The problem is that i got some space between my JLabels, and i don't want that. How can i delete the space between my JLabels? Here is a picture of my chessboard now: [http://img329.imageshack.us/my.php?image=chessuj5.jpg] Thanks, HenkJan Edited by: HenkJan_Smits on Aug ...

3. Letter spacing for JLabel    forums.oracle.com

not really, without writing a custom UI delegate, which can be a real pain in *** for anything that has text in it. I would look into trying to find a standard font that puts in the spacing you want. Or, if you really want, you can get the spacing you need using a graphics editor program, then save that as ...