So far I have this
public static void main(String[] args) {
try {
UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");
UIManager.getBorder("design");//change look and feel here?
} catch (Exception e) {
JOptionPane.showMessageDialog(null, "Nimbus isn't available");
}
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
design GUI = new design();
GUI.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
GUI.setVisible(true);
}
});
}
I'm trying to make the main look and feel nimbus, but change the titled border to windows.
My border is this:
contentPanel.setBorder(new TitledBorder("Downloader"));
Is it possible to do? If it is can someone point me where to look? I'm so confused right now. :\
Thanks.