MyEclipse: [Matisse] How do I set run-time LNF to match design-time LNF
support-rkalla - Jun 20, 2008 - 05:25 PM
Post subject: [Matisse] How do I set run-time LNF to match design-time LNF
When the Matisse4MyEclipse designer is run, it takes on the appearance of the native LNF, but when you run your app, unless set, it will use the default JRE LNF (Metal in Java 1.4, Ocean in Java 5 and 6, and Nimbus in Java 7).
To make your run-time Matisse Forms match your design-time forms, you can use the following Java code in your project, set either in the very first line of your main method, or very close to it:
this will tell the Swing UIManager to set the LNF to match the system's default LNF, which should match the Matisse4MyEclipse design-time look.
All times are GMT - 6 Hours
Powered by PNphpBB2
© 2003-2004 The PNphpBB GroupCredits