470,855 Members | 1,201 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,855 developers. It's quick & easy.

Correct way to develop frameless overlays?

Hi all...

I'm developing a java application based on the old Supremacy board game...

The display is a large map of the board, which is zoomable and scrollable.

I'd like to place several components on top of this, such as an 'Empire
Earth'-esque mini-map.

I don't want to use internal frames, because I don't want/need any framing
or menu bars.

I'd also like to abstract this out into other opaque overlays to be used as
panels for other game data, such as the other Players, etc.

Please throw some suggestions out to me as to how I should proceed. Should
I be designing a custom component?

Thanks in Advance,

Joseph

Jul 17 '05 #1
1 1656
"Joseph Sheppard" <jo****@anc.net> wrote in message news:<s-********************@arkansas.net>...
Hi all...

I'm developing a java application based on the old Supremacy board game...

The display is a large map of the board, which is zoomable and scrollable.

I'd like to place several components on top of this, such as an 'Empire
Earth'-esque mini-map.

I don't want to use internal frames, because I don't want/need any framing
or menu bars.

[snipped...]
Take a look at Swing, which supports layering up of elements inside a
single window. If you've written any Swing apps you'll no doubt be
familiar with the Content Pane which window contents are added to...?
Well there are several over panes which logically fall above and below
that one.
-FISH- ><>
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Dennis Allen | last post: by
4 posts views Thread by Jonathan Li | last post: by
2 posts views Thread by [b2:ss] | last post: by
1 post views Thread by MrNobody | last post: by
11 posts views Thread by Anil Gupte/iCinema.com | last post: by
2 posts views Thread by jessy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.