posted 20 years ago
Keristufer,
I don't know of a way to do this using a specific API call.
I believe (someone pls correct me if i'm wrong), this falls into the class of a Look and Feel change.
On that topic I can give you more info than you probably want:
(1) you can write a custom LAF
(2) you can play 'home alchemist' with the swing properties for
the default LAF
Option #1 is time consuming: you could subclass the Metal LAF and override settings for InternalFrame. You will have to enforce the loading of your custom LAF when your app starts, ie:
Option #2 is a risky, not really production-strength solution. if the app is just-for-you, you can play with the UIManager properties for internal frame:
First you can review the properties for InternalFrame:
Dump may produce something like:
Now you can use UIManager to put your preferred values in place.
viva la pluggable ui!^?
hth