Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Advanced-java] Generating a html ImageMap from JTabbedPane
- From: terry.williams@xxxxxxxxxxxxx (Terry Williams)
- Subject: [Advanced-java] Generating a html ImageMap from JTabbedPane
- Date: Fri, 22 Feb 2002 14:22:01 +0000
Hi,
I have a slightly strange requirement imposed on me in a project
that I am working on.
I have to generate an Image from a JTabbedPane (which I have done) and
an image map ala <AREA> </AREA> for use in an html document.
>From the BasicTabbedPaneUI I can use getTabBounds(JTabbedPane pane, int
index) to theoretically get the bounding co-ordinates for each of the
tabs - using this however returns all the tabs aligned vertically
against the x=0 axis rather than where they are layed out naturally -
does anyone know why this is the case. I have tried validating the
JTabbedPane but this makes no difference. Is there an alternate strategy
I can try?
any ideas please, I and pulling out what little hair I have remaining
:-)
Terry
- Follow-Ups:
- [Advanced-java] Generating a html ImageMap from JTabbedPane
- From: Valentin Tablan
- [Advanced-java] Generating a html ImageMap from JTabbedPane
- Prev by Date: [Advanced-java] On the fly compile
- Next by Date: [Advanced-java] Generating a html ImageMap from JTabbedPane
- Previous by thread: [Advanced-java] On the fly compile
- Next by thread: [Advanced-java] Generating a html ImageMap from JTabbedPane
- Index(es):