Re: Different looks beetwen Preview and Runview
Tim Boudreau <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.user-interface |
|---|---|
| Message-ID | <[email protected]> |
Hi, Please use the nbusers mailing list for questions about developing user interfaces in Java. This list is specifically about the user interface of NetBeans itself. Regarding your problem, add the following to your main(String[] args) method: UIManager.setLookAndFeel (UIManager.getSystemLookAndFeelClassName()); (you'll need to add "throws Exception" to the main() method definition or catch the exceptions this call throws). -Tim ChP wrote: > Hello everybody, > > I am sorry about my bad english. > > I a newby in NetBeans. > > Yesterday, i have created, built and run the "ContactEditor" project. I am > amazed, it's really easy. > > But I have a problem about display. The Preview displays this form : > > http://www.nabble.com/file/7582/Preview.jpg > > And when I run the application, i get this : > > http://www.nabble.com/file/7583/Runview.jpg > > The looks are quite different. Should this be the only problem, I should > don't care, but in the Runview, there are no longer respect with the sizes > of the different boxes. No more about fonts. > > I have not found solution in the FAQ nor in the forum. Could you help me to > have the Runview to have the same look that the Preview. > > Thank's in advance. > > Pierre > >