Questions tagged [nimbus]

Nimbus is a polished cross-platform look and feel introduced in the Java SE 6 Update 10 (6u10) release of the Java platform. Nimbus uses Java 2D vector graphics to draw the user interface, rather than static bitmaps, so the UI can be crisply rendered at any resolution.

Nimbus is a polished cross-platform look and feel introduced in the Java SE 6 Update 10 (6u10) release of the Java platform. Nimbus uses Java 2D vector graphics to draw the user interface, rather than static bitmaps, so the UI can be crisply rendered at any resolution. Nimbus is highly customizable. You can use the Nimbus look and feel as is, or you can skin (customize) the look with your own brand.

340 questions
2
votes
1 answer

How can I set the JProgressBar to Nimbus Lookandfeel while keeping the rest of UI not to change?

I would like to set ALL of JProgressBar in my Swing application in Nimbus style, while the rest is Windows, Metal, Quauqa, whatever. How can I do this in Java?
2
votes
2 answers

Set look and feel color

I'm using the Nimbus Look & Feel within my Java Swing application. The L&F looks great, but i need to change some settings (Fonts, Colors, ... ) to fit the corporate identity of my firm. The following code sets the L&F of the whole…
msp
  • 153
  • 1
  • 8
2
votes
0 answers

Code runs without errors but does not change label text

I have been working with this for a while now, and I can't get the text for the two JLabels to change on a click event. Any help would be very welcome. Thank you in advance. This is a GUI program with two radio button button groups that pulls input…
Brian
  • 55
  • 5
2
votes
2 answers

Problems changing JButton background colors multiple times in Nimbus L&F

While using the Nimbus L&F feel in Java, I am having problems with changing the background color for a JButton more than once. In the code below, I have a simple Swing application that displays a JButton and attempts to change the color once per…
Gregory Peck
  • 636
  • 7
  • 22
2
votes
0 answers

Nimbus L&F no border on JButtons?

As the title says, I'm interested in removing the JButton's border when using Nimbus. Something like: myButton.setBorderPainted(false); doesn't work, unfortunately. I've looked into UIManager defaults and couldn't find any border color/opacity…
2
votes
1 answer

PromptSupport (SwingX) and nimbus L&F

I have a problem with PromptSupport (SwingX) and nimbus L&F I created a JTextField and add a prompt to it by following code. JTextField textField = new JTextField(20); PromptSupport.setPrompt("promptText", textField); The problem is that…
phanhongphucit
  • 547
  • 9
  • 20
1
vote
1 answer

Change JFrame's background in Sea-Glass Look and Feel

What's is the proper way to change to background of JFrame with Sea-Glass Look and Feel, so far I tried both : frame.getContentPane().setBackground(Color.blue); and JPanel x = new JPanel(); x.setBackground(Color.red); frame.setContentPane(x); But…
TU_HEO DAKAI
  • 2,197
  • 8
  • 28
  • 39
1
vote
3 answers

Java Swing How to set JButton size in Nimbus?

I am trying to make my buttons have the same size in my GUI. However, whenever I setPreferredSize(), Nimbus seems to automatically set the height of some buttons. What is the best way to get Nimbus to make all buttons have the same size (i.e. width…
meyerjp3
  • 197
  • 1
  • 3
  • 16
1
vote
0 answers

Using Nimbus to create a view of photo thumbnails?

I looked thru the samples come with Nimbus, didn't see an example on that. Anyone have tried to build such kind of view with Nimbus?
tom
  • 14,273
  • 19
  • 65
  • 124
1
vote
1 answer

Change Look and Feel of JButton

I would like use the nimbus button style in my application. I don't want change L&F. Only change the L&F of the button to use nimbus L&F. Is there a way to do this?
1
vote
1 answer

Nimbus look and feel for Matlab

I am trying to change the appearance of my Matlab GUI using Java. Following the instructions of the post found here, I have tried this code: javax.swing.UIManager.setLookAndFeel('com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel'); However, the…
julianfperez
  • 1,726
  • 5
  • 38
  • 69
1
vote
2 answers

Nimbus L & F: Setting different background colors of a Check-Boxes in a CheckBox List

I had a list of check-boxes and I want to set different colors on each check-box. Following code does not change the background color checkBox[i] = new JCheckBox(); checkBox[i].setEnabled(false); checkBox[i].setBackground(Color.GREEN); Kindly let…
Anuj Mehta
  • 1,072
  • 3
  • 13
  • 25
1
vote
1 answer

Change Icon of Unchecked CheckBoxMenuItem

I'm trying to change the Icon of a CheckBoxMenuItem with the Nimbus Look&Feel. UIManager.put("CheckBoxMenuItem[Selected].checkIcon", new ImageIcon(getClass().getResource("/packagename/images/unchecked-icon.png"))); This works fine for the…
1
vote
1 answer

When using nimbus-jose-jwt, with RemoteJWKSet can i find(see in logs) when request are made to remote url for cache update etc

I am using nimbus-jose-jwt with RemoteJWKSet and would like to find(see in logs) when requests are made to remote url for cache update etc. For the spring boot app, I set logging.level.com.nimbusds=TRACE but could not find any logging related to…
samshers
  • 1
  • 6
  • 37
  • 84
1
vote
2 answers

nimbus look and feel not appear after creating jar

nimbus look and feel not appear after creating jar when i run program in NetBeans at time Nimbus look & Feel work perfectly but when i create Jar and run Application from jar at time nimbus look & feel is not appear CODE: public static void…
Dhiral Pandya
  • 10,311
  • 4
  • 47
  • 47