While I have it
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 basic look and feel like a halo, but change the border title to windows.
My border is this:
contentPanel.setBorder(new TitledBorder("Downloader"));
Can this be done? If it can someone tell me where to look? I'm so confused now.: \
Thanks.
source share