Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #5311
| From | Knute Johnson <nospam@knutejohnson.com> |
|---|---|
| Newsgroups | comp.lang.java.gui |
| Subject | Re: JTabbedPane fails to clip tab text |
| Date | 2013-03-08 09:33 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <khd7b3$66r$1@dont-email.me> (permalink) |
| References | <fc8f8e86-58b9-44ca-962b-301da5c8710c@googlegroups.com> <nospam-1C7804.10063906032013@news.aioe.org> <27ea8628-9891-4916-9d6d-1db1e40f357c@googlegroups.com> <nospam-CFFF8E.04045808032013@news.aioe.org> |
On 3/8/2013 1:04 AM, John B. Matthews wrote: > In article <27ea8628-9891-4916-9d6d-1db1e40f357c@googlegroups.com>, > FredK <fred.l.kleinschmidt@gmail.com> wrote: > >> When using John's code, I notice that the Windows and Windows Classic >> LAF almost does this (it draws the text one pixel past the tab edge >> and clips the rest), > > A similar result is seen on Ubuntu 12/OpenJDK with GTK+ L&F. > >> while in all other LAF's the text bleeds over the tab bounds up to >> the container's insets. > > A similar result is seen on Ubuntu 12/OpenJDK, with the remaining L&Fs: > Metal, CDE Motif and Nimbus. > I had a thought that you might be able to get into the UI and modify the title painting but after looking at the source, I think it would be very difficult (for me anyway). Almost all of the methods are protected too. -- Knute Johnson
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Find similar
JTabbedPane fails to clip tab text FredK <fred.l.kleinschmidt@gmail.com> - 2013-03-05 10:51 -0800
Re: JTabbedPane fails to clip tab text Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2013-03-05 12:47 -0800
Re: JTabbedPane fails to clip tab text "John B. Matthews" <nospam@nospam.invalid> - 2013-03-06 10:06 -0500
Re: JTabbedPane fails to clip tab text FredK <fred.l.kleinschmidt@gmail.com> - 2013-03-06 08:01 -0800
Re: JTabbedPane fails to clip tab text "John B. Matthews" <nospam@nospam.invalid> - 2013-03-08 04:04 -0500
Re: JTabbedPane fails to clip tab text Knute Johnson <nospam@knutejohnson.com> - 2013-03-08 09:33 -0800
csiph-web