christstc / seaglass

Automatically exported from code.google.com/p/seaglass
0 stars 0 forks source link

JTabbedPane title not drawn at right place #74

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I'm under Windows XP
2.I created a JTabbedPane 
3.

What is the expected output? What do you see instead?
I want the title to be into the Tab not under the Tab :

What version of the product are you using? On what operating system? What
JRE version?
SeaGlass Version 0.1.7.3

java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)

Others components works fine !! Thank you for your work !

Original issue reported on code.google.com by Grimaud....@gmail.com on 31 Mar 2011 at 8:18

Attachments:

GoogleCodeExporter commented 9 years ago
Hi, I can confirm that the title is painted incorrectly for custom tab 
components [1]
in both horizontal and vertical tab placement.

[1] 
http://download.oracle.com/javase/6/docs/api/javax/swing/JTabbedPane.html#setTab
ComponentAt%28int,%20java.awt.Component%29

Original comment by twardow...@gmail.com on 4 Apr 2011 at 1:43

GoogleCodeExporter commented 9 years ago
Hi,
I did some improvements regarding this in the integration_rossi branch.
This still not perfect but looks already useable.

Have fun,
- Rossi

Original comment by rosstaus...@googlemail.com on 30 Jun 2011 at 10:00

GoogleCodeExporter commented 9 years ago
I retested this with a tab where I added some label and button as tab component 
and it all looked good.

So I think this is fixed.

- Rossi

Original comment by rosstaus...@googlemail.com on 14 Nov 2013 at 9:41