I developed an application using netbeans. But the title of the titled border of JPanel has some alignment issue. In the 'show preview' the title is displaying as expected, but while running the code, the title goes up above the panel. Can any one help me to resolve this issue.
I know this is some property issue with panel. I googled by couldn't find a valid solution. Stack experts please help to resolve this issue. I am using netbeans 7.2.1
Take a look at Netbeans look and feel:
http://wiki.netbeans.org/NBLookAndFeels
Default is set to Nimbus, you probably want Windows.