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
4
votes
1 answer

How to change the color of a single JProgressBar in Nimbus?

I'm trying to change the color of a single JProgressBar in Nimbus LAF (Look And Feel). This solution does work, but it changes the colors of ALL JProgressBars :/ UIDefaults defaults = UIManager.getLookAndFeelDefaults(); …
user1430180
  • 43
  • 1
  • 3
4
votes
1 answer

With Nimbus, make control background color yellow only when control has focus?

This seems like it should be straightforward, but I haven't found a "good" way to do it... While using the Swing Nimbus L&F, I want to give my controls (JButtons, JTextField, etc...) a yellow background color when they have focus. Other than the…
user1422004
  • 41
  • 1
  • 2
4
votes
2 answers

Java Swing accordion in Nimbus look and feel

While I was reading Oracle Swing documentation, I came across this example of a set of components displaying the Nimbus Look and Feel named SwingSet3. I'm new to Swing. Can someone tell me if the accordion in the sidebar is a Swing component or…
Tarik
  • 2,151
  • 4
  • 19
  • 26
3
votes
2 answers

Java Popup Button

Note: You may have to compile and run my example to fully understand my question. If this is not kosher, I apologize in advance. I am trying to create a Swing control that is based on a JToggleButton and a JPopupMenu. The toggle button is selected…
lifelongcoug
  • 678
  • 6
  • 12
3
votes
1 answer

Linux - Nimbus LookAndFeel : Table Grid Lines are not coming

In my java application I am using NimBusLookAndFeel. I was trying to show grid lines in table. Following code works perfectly fine on windows but not on Linux (table grid lines do not appear in…
Anuj Mehta
  • 1,072
  • 3
  • 13
  • 25
3
votes
1 answer

How to draw a JPanel as a Nimbus JButton?

In Nimbus look and feel JButtons have a very tidy and accurate look, with rounded border and nice background. I'd like to render a JPanel with the very same look (obviously it won't have pressed state etc). What are my options?
AgostinoX
  • 7,477
  • 20
  • 77
  • 137
3
votes
2 answers

JButton margins. Not respected when nimbus plaf

The property margin of a JButton isn't respected when the nimbus look and feel is installed. . I need some "little" buttons, but nimbus forces the space around button text to be large, so I only get "very large" buttons. I discovered in nimbus…
AgostinoX
  • 7,477
  • 20
  • 77
  • 137
3
votes
5 answers

JFrame and Nimbus Look And Feel

I use Nimbus Look and Feel in a project. However, although every GUI JComponent have a Look and Feel of Nimbus, JFrame always have Windows Look and Feel. How can JFrame have Nimbus Look And Feel? Edit: Operating System : Windows XP
MOD
  • 1,070
  • 3
  • 19
  • 41
3
votes
3 answers

JTabbedPane: avoid automatic re-ordering tabs if stacked / Nimbus

a JTabbedPane is just what I need for my purpose. I have very limited horizontal space, so my Tabs get stacked, which is perfectly ok. But the default behaviour is that if user clicks on a Tab, the *Tabs get re-sorted so that the active Tab becomes…
Philippp
  • 847
  • 1
  • 8
  • 17
3
votes
2 answers

How can you alter the margins in Nimbus Look and Feel

I'm trying to use Nimbus Look and Feel and I can't simply plug it in to replace other Look and feel because it adds some external padding around each component. So, I would like to remove this padding. This is the list of defaults that can be…
Pool
  • 11,999
  • 14
  • 68
  • 78
3
votes
3 answers

UIManager color at a JFileChooser

I'm using Nimbus Look and Feel, with only 3 changes at its colors: UIManager.put("nimbusSelection", new Color(164,164,164)); UIManager.put("nimbusSelectionBackground", new Color(214,217,223)); UIManager.put("nimbusSelectedText", Color.BLACK); My…
Roman Rdgz
  • 12,836
  • 41
  • 131
  • 207
3
votes
2 answers

JTable TableCellRenderer background with NimbusLookAndFeel color problem

I'm using NimbusLookAndFeel. With this look and feel JTable's cell background are alternatively white and light grey (it depends on the row number). Now, I'm writing some custom cell renderer implementing TableCellRenderer. I need to set the…
Heisenbug
  • 38,762
  • 28
  • 132
  • 190
3
votes
1 answer

Seaglass look and feel

I wrote a simple test class to test the features of seaglass look and feel http://seaglass.googlecode.com/ and I am getting an exception of 'nimbus class not found'. import java.awt.*; import javax.swing.*; public class asd { private…
ramya
  • 175
  • 4
  • 11
3
votes
1 answer

Generate x5c certificate chain from JWK

I am using nimbus-jose-jwt 5.14 and I generated RSA key pair with the following code KeyPairGenerator gen = KeyPairGenerator.getInstance("RSA"); gen.initialize(2048); KeyPair keyPair = gen.generateKeyPair(); JWK jwk = new…
pacionet
  • 183
  • 4
  • 15
3
votes
1 answer

JTabbedPane - How to scroll (not select) tabs with mouse wheel (SCROLL_TAB_LAYOUT)

When space is limited, the tabs get shown in a scroll pane, and two small arrow buttons appear. I would like to use the mouse wheel to operate these buttons. There is a nice solution in Use mouse to scroll through tabs in JTabbedPane, but it…
Philippp
  • 847
  • 1
  • 8
  • 17