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.

345 questions
16
votes
3 answers

Swing and Nimbus: Replace background of JPopupMenu (attached to JMenu)

Nimbus often looks great, but for certain color combinations the result is non-optimal. In my case, the background of a JPopupMenu does not fit, which is why I want to set it manually. I'm on Java 7 and, interestingly, Nimbus fully ignores the…
aRestless
  • 1,685
  • 2
  • 16
  • 27
14
votes
2 answers

Apache Storm: Could not find leader nimbus from seed hosts

I installed Apache Storm 1.0 by following this tutorial but I am not able to access to the Storm UI from the Internet. Accessing localhost:8080 gives the following error: org.apache.storm.utils.NimbusLeaderNotFoundException: Could not find leader…
h.zak
  • 1,279
  • 2
  • 18
  • 33
13
votes
5 answers

Gradient problems in Java

In my program I wanted to have a translucent white to transparent gradient on my JFrame to overlay a yellow background. This works fine and it needs to be a white to transparent because of how my settings for the program work for the user. However,…
J_mie6
  • 698
  • 1
  • 8
  • 24
11
votes
3 answers

JTable - Boolean Cell Type - Background

I'm using the Nimbus L&F with a JTable that has a boolean (checkbox) element as one of its columns. The issue I'm having is that the boolean column does not follow the natural row background alternations present in the Nimbus L&F.
SirensOfTitan
  • 739
  • 7
  • 18
11
votes
4 answers

Java Nimbus LAF with transparent text fields

I have an application that uses disabled JTextFields in several places which are intended to be transparent - allowing the background to show through instead of the text field's normal background. When running the new Nimbus LAF these fields are…
Lawrence Dol
  • 59,198
  • 25
  • 134
  • 183
10
votes
5 answers

Java: How do I override a method of a class dynamically (class is eventually NOT in classpath)?

How do I call a method of a class dynamically + conditionally? (Class is eventually not in classpath) Let's say, I need the class NimbusLookAndFeel, but on some systems it's not available (i.e. OpenJDK-6). So I must be able to: Get to know it that…
java.is.for.desktop
  • 9,703
  • 10
  • 62
  • 100
9
votes
2 answers

Is a certain Look and Feel guaranteed to be available?

From what I've found out, the Nimbus Look and Feel was introduced in Java 6 Update 10. I have project where I use that Look and Feel. Is there any situation where, the user has a Java VM newer than 6 update 10 (for example 6 update 26) and the…
Radu Murzea
  • 10,036
  • 9
  • 44
  • 68
9
votes
1 answer

Override Swing Nimbus L&F primary color per component instance

i’m trying to override the “nimbusBase” color for specific instance of JButton/JTabbedPane with no luck. only the specific attributes of the component e.g. “Button.background”, are working. any idea? UIDefaults dialogTheme = new…
Kobi
  • 93
  • 1
  • 3
9
votes
1 answer

JTabbedPane: icon on left side of tabs

hello i am using the nimbus look-and-feel and have a tabbedpane with an icon and text. now the icon appears on the right side of the text, while i would like to have it on the left side. also i would like to add some spacing between the icon and the…
clamp
  • 30,396
  • 73
  • 193
  • 291
8
votes
2 answers

System look and feel layout on JFileChooser but with nimbus look and feel theme

The windows look and feel layout on JFileChooser is much better than other look and feels like nimbus. So I'm looking for a way to have the layout of a system look and feel but have nimbus or others theme on top. Is this possible? If so how can it…
Daniel Ryan
  • 6,566
  • 4
  • 40
  • 60
8
votes
3 answers

Can't transparent and undecorated JFrame in JDK7 when enabling nimbus

Look at this picture : here is the code that transparent's the frame: GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment(); GraphicsDevice gd = ge.getDefaultScreenDevice(); if…
Azad
  • 4,959
  • 18
  • 38
8
votes
1 answer

changing how Nimbus LaF handles JTree node highlighting

I have been working to transition a Java application from WindowsLookAndFeel to Nimbus, largely successfully, despite Nimbus foibles. My users overall like the Nimbus LaF but didn't like some details, some of which I changed by consulting previous…
user1359010
  • 211
  • 3
  • 9
7
votes
6 answers

Java: Altering UI fonts (Nimbus) doesn't work!

I'm referring to this Nimbus reference. I tried to set global Font to be slightly larger: UIManager.put("defaultFont", new Font(Font.SANS_SERIF, 0, 16)); ...works only for the menu but nothing else (buttons, labels). I tried to change labels and…
ivan_ivanovich_ivanoff
  • 18,003
  • 24
  • 78
  • 100
7
votes
1 answer

HiDPI support with java 9+, scalling issue with JTable gridlines with Windows L&F - but not Nimbus

I'm migrating my Swing app to Java 11 to take advantage of the HiDPI display support. I'm using a Samsung monitor with resolution set to 3840x2160, scaling at 125%, with Windows 10. Although java 9 and above are advertised as properly handling HiDPI…
Bastien
  • 1,539
  • 2
  • 10
  • 18
7
votes
3 answers

JTree Line Style and Nimbus

I am using the Nimbus look and feel. According to this link, you should be able to achieve 3 different line styles with your JTree: While using the following code: theTree.putClientProperty("JTree.lineStyle", "Horizontal"); My JTree looks like…
user489041
  • 26,050
  • 52
  • 126
  • 198
1
2 3
22 23