Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #3880

Left justified text

From "Hakan" <hakan@THRWHITE.remove-dii-this>
Subject Left justified text
Message-ID <1217810193.42@user.newsoffice.de> (permalink)
Newsgroups comp.lang.java.gui
Date 2011-04-27 15:47 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui

 How do I left justify a text with a JLabel in a horizontal Box? None of 
mybox.add(mylabel,BorderLayout.WEST), mybox.setAlignmentX(Box.LEFT) or 
mylabel.setHorizontalTextPosition(JLabel.LEFT) has worked. Thanks in 
advance.



-- 
Newsoffice.de - Die Onlinesoftware zum Lesen und Schreiben im Usenet 
Die Signatur lE#t sich nach Belieben anpassen ;-)

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | Next | Find similar | Unroll thread


Thread

Left justified text "Hakan" <hakan@THRWHITE.remove-dii-this> - 2011-04-27 15:47 +0000

csiph-web