By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,736 Members | 1,982 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,736 IT Pros & Developers. It's quick & easy.

Correct way to develop frameless overlays?

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
"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.