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

Is it possible to change the background of a jspinner using the nimbus laf?

I'm fairly confident that I have done my research before coming to you for help, but it's possible I have overlooked something. I'm writing a java UI using the Nimbus l-a-f. I wish to change the background colour of a JSpinner on state-change, ie,…
Daryl
  • 203
  • 1
  • 2
  • 8
5
votes
1 answer

Nimbus TableHeader was not highlighted as 'pressed'

The JTableHaeder has no 'pressed' highlighting by default. (Nimbus) NimbusDefaults says it has a default [Pressed] background painter. What should I do, to see this when i click on the TableHeader? UPDATE 1 The NimbusStyle.getExtendedState returns…
oliholz
  • 7,447
  • 2
  • 43
  • 82
5
votes
3 answers

How to set Nimbus look and feel in main

I am just learning Java and still have not been able to sort out this little problem I have. My pop up Calendar uses Nimbus look and feel, but I have panels and container Jtables that use Java's look and feel - I am trying to make every GUI screen/…
Simon Andi
  • 85
  • 1
  • 1
  • 3
5
votes
1 answer

Loosing vertical scrollbar in netbeans nimbus LAF

I'm using Netbeans 8.0.2 and the Nimbus Look And Feel. At a certain point, when the vertical scroll slider becomes small, it disappears. Has anyone the same behavior or any fix for that problem? EDIT: This happens only in Nimbus and Dark Nimbus…
sylo
  • 207
  • 3
  • 16
5
votes
2 answers

Aligning icon to the left in JTabbedPane in Nimbus Look and Feel

I was creating an application with JTabbedPane using Nimbus look and feel I have used this code to place tabs: pane.addTab("Welcome",new ImageIcon("resources\\1.png"),mainPanel,"Takes to the welcome page"); I want the icon to appear on the left and…
Gagan93
  • 1,826
  • 2
  • 25
  • 38
5
votes
2 answers

Java Swing JOptionPane Yes and No Button differ in font size after setting Nimbus LookandFeel

Since the font size is too small in default LookAndFeel, I used a few lines of code to set it to Nimbus, and my JOptionPane shows Yes and No button with different size. Yes is still very small, while No is set to be with the size I assign it to be.…
Hai Bi
  • 1,173
  • 1
  • 11
  • 21
5
votes
2 answers

JProgressBar Changing Bar Color dynamically

I am using JProgressBar component along with the Nimbus UI Defaults. The problem is that When I want to manually change each progressbar's Bar color, I use BasicProgressBarUI by setting JProgressBar.setUI() function. This makes more trouble because…
mbasol
  • 105
  • 1
  • 2
  • 9
5
votes
2 answers

How to deal with derived color in Nimbus Look and Feel?

What I want is to make the background of a uneditable text area the same as its disabled background. I know that the color is available from the UIManager with the key TextArea.disabled: DerivedColor(color=214,217,223 parent=control…
Zhao Yi
  • 2,335
  • 7
  • 23
  • 27
5
votes
2 answers

Nimbus and alternate row colors

I don't understand how alternate row coloring works in Nimbus. It seems just crazy!!! I would like to clear things up here. For the demonstration, let's say that we want a JTable that alternate Red and Pink rows (and I don't care which color is the…
Pigelvy
  • 606
  • 6
  • 17
5
votes
2 answers

Scroll horizontally in JTable with Nimbus look and feel

I have a JTable that is wider than the JScrollPane it is contained in (essentially defined like this): JTable table = new JTable(model); // I change some things like disallowing reordering, resizing, // disable column selection, etc. // I set the…
Matthew Denaburg
  • 163
  • 1
  • 15
4
votes
1 answer

Checkbox in header of JTable renders differently with Nimbus L&F

I have Checkbox in JTable Header, I am using Nimbus L&F and customize the header background but the background of the checkbox takes the default grey background not the customize one as others column do. Following is the CheckboxRenderer…
rcnpl
  • 111
  • 1
  • 2
  • 9
4
votes
1 answer

Java Nimbus Button.foreground not working

I am using the Nimbus LAF on my application and I want to change all buttons foreground colors. I do this setting: UIManager.put("Button.foreground", Color.WHITE); But this is not working. Maybe it is because I should only use the primary and…
Lucas
  • 113
  • 6
4
votes
3 answers

Fix JComboBox width

I have a JComboBox with some options. When I make a selection at another component, I'm changing JComboBox contents. First I call the removeAllItems() method, and then I add one by one the Strings I need now. The problem is, by default I had some…
Roman Rdgz
  • 12,836
  • 41
  • 131
  • 207
4
votes
1 answer

How to center content of JTable Headers at Nimbus Look and Feel

How can i center the content of JTable Header which has a nimbus look and feel? I tried to use DefaultTableCellHeaderRenderer, but it look like this; is there any way to make them all look like PARENT_ID column's and centered?
MOD
  • 1,070
  • 3
  • 19
  • 41
4
votes
2 answers

How to decrypt JWE(Json Web Encryption) data using private key in java

I have a private key similar to below e.g. -----BEGIN PRIVATE…
Roshanck
  • 2,220
  • 8
  • 41
  • 56
1 2
3
22 23