Article View: borland.public.jbuilder.java.language
Article #15908Anyone know how to get the pixel width of text in a JLabel?
From: Sean Shubin
Date: Wed, 14 Apr 1999 00:00
Date: Wed, 14 Apr 1999 00:00
2 lines
717 bytes
717 bytes
I need to resize the JLabel after setting its text so the entire text will be visible.
Technical Details
Message-ID:
<3714ba43.389252615@news1.occa.home.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,353033414c4d1441,start X-Google-Attributes: gidf74b3,public From: sean.shubin@integtech.com.nospam.com (Sean Shubin) Subject: Anyone know how to get the pixel width of text in a JLabel? Date: 1999/04/14 Message-ID: <3714ba43.389252615@news1.occa.home.net> X-Deja-AN: 466336702 X-Complaints-To: abuse@home.net X-Trace: news.rdc2.occa.home.com 924105112 209.125.36.12 (Wed, 14 Apr 1999 08:51:52 PDT) Organization: @Work Internet powered by @Home Network NNTP-Posting-Date: Wed, 14 Apr 1999 08:51:52 PDT Newsgroups: borland.public.jbuilder.java.language