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 mainframe doesn’t change.
Answer:
This is currently a deficiency in the Swing classes. A top levelwindow is forced to assume the look-and-feel of the native windowsystem. There is no technical reason why it would not be possibleto make a borderless frame part of the standard classes. It couldprovide its own titlebar, border, and other decorations.
However, doing this would disable the native window manager operations, suchas right-clicking on the titlebar in Windows 95/98/NT. This appearsto be why it wasn’t done.
Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.






















