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


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

Re: JTabbedPane fails to clip tab text

From "John B. Matthews" <nospam@nospam.invalid>
Newsgroups comp.lang.java.gui
Subject Re: JTabbedPane fails to clip tab text
Date 2013-03-08 04:04 -0500
Organization The Wasteland
Message-ID <nospam-CFFF8E.04045808032013@news.aioe.org> (permalink)
References <fc8f8e86-58b9-44ca-962b-301da5c8710c@googlegroups.com> <nospam-1C7804.10063906032013@news.aioe.org> <27ea8628-9891-4916-9d6d-1db1e40f357c@googlegroups.com>

Show all headers | View raw


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.

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

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


Thread

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