dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Tip of the Day
Language: User Interface Design
Expertise: Beginner
Dec 7, 1999

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


JFrame Look and Feel

Question:
Is there any way I can make a JFrame look like JInternalFrame? It looks bad at runtime when you change the look-and-feel, but the main frame doesn't change.

Answer:
This is currently a deficiency in the Swing classes. A top level window is forced to assume the look-and-feel of the native window system. There is no technical reason why it would not be possible to make a borderless frame part of the standard classes. It could provide its own titlebar, border, and other decorations.

However, doing this would disable the native window manager operations, such as right-clicking on the titlebar in Windows 95/98/NT. This appears to be why it wasn't done.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date