Link to home
Start Free TrialLog in
Avatar of peterwittering
peterwittering

asked on

JDesktop

Hi guys,

I know it is possible to add JInternalFrames to a JDesktop, however is it possible to add panels to a JDesktop? and then work on the panels to give a templat that is alway there?

Kind regards

Pete
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

You need a specific background - say an image? I'm getting a sense of deja vu here - was it you? ;-)
Avatar of peterwittering
peterwittering

ASKER

was what me?
what i intend to do is have two panels one with the login controls on left hand side, and one with the application language selection controls on the right about a 25-75% horizontally.  These need to be visible until a correct username and password is provided.  Upon that the two panel will disappear and open the relevant JInternalFrames relevant to the users rights.  Also a image icon covering the JDesktop background.  I know i could add the two panels to a JInternalframe, however would like them to be there all the time so that the user could not minimise or remove it.
JDesktop is a Container, so yes it should be possible

Or of course, you should be able to just use a JInternalFrame that is not closable, iconifiable, or maximisable :-)
>> however would like them to be there all the time so that the user could not minimise or remove it.

Ahhh...why not use the GlassPane of your application?

ASKER CERTIFIED SOLUTION
Avatar of TimYates
TimYates
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
u need to add JSplit panes for this purpose.