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

Java SE 6: Why does Nimbus L&F cut for 4 pixels in JTextField?

My JFrame consists of some JTextFields. For Windows OS I simply use the system look&feel. For Linux distributions I use Nimbus L&F shipped with Java SE 6. In Nimbus L&F, the lower border of the JTextField cuts-off 4 pixels. Thus, letters like "g"…
salocinx
  • 3,715
  • 8
  • 61
  • 110
3
votes
2 answers

Custom JButton with nimbus

Hello I am trying to custom the JButton from nimbus and here is what I did : public static void main(String[] args) { // TODO Auto-generated method stub Font police1 = new Font("Tahoma", Font.BOLD, 12); try { for…
Exia0890
  • 441
  • 6
  • 21
3
votes
1 answer

Changing look and feel on a Java applet

Ok, So I made an test java applet to make sure I know how to make them but I the default look and feel looks really ugly. So I want to switch it Nimbus but my tacit isn't working. I've done about an hour worth of Google searching but nothing came…
Jdman216
  • 55
  • 1
  • 10
3
votes
1 answer

How can I change the "minimize, maximize and close" icons of a internal frame with Nimbus Laf?

I'm using Nimbus Look and Feel, I know how to change for example, the tooltip color, by using this code: UIManager.put("info", Color.white); But how can I change the icons (minimize, maximize and close) to another icon/png file? Here is the the…
Nicke Manarin
  • 3,026
  • 4
  • 37
  • 79
3
votes
1 answer

Table Cell renderer using Nimbus and Scala

I asked this question about a problem I was seing with a cell renderer using the Nimbus look and feel and the issue has turned out to be possibly to do with Scala. Basically I have a cell renderer which extends Panel (as opposed to…
oxbow_lakes
  • 133,303
  • 56
  • 317
  • 449
3
votes
2 answers

Custom TableCellRenderer ignored by Look&Feel

I have a JTable for which I have provided a custom TableCellRenderer that colors numeric cells in red/gray/green depending on their value (<0, 0, >0). However, when I use the Nimbus L&F, the label.setForeground() method is ignored: when calling…
assylias
  • 321,522
  • 82
  • 660
  • 783
2
votes
3 answers

Nimbus Look And Feel JAVA - change global size of components

I was searching if there is possible to change global size of all components in Nimbus Look and Feel. There is a tutorial for re-sizing a component; but not for all components. I've found something like…
Arek Woźniak
  • 695
  • 3
  • 12
  • 25
2
votes
2 answers

Change Font globally for whole frame JAVA

im trying to change font globally for whole application, the problem is, i am able to do this only once. here is the code which helps you recreate the problem. /* * To change this template, choose Tools | Templates * and open the template in the…
Anton Giertli
  • 896
  • 2
  • 10
  • 29
2
votes
1 answer

Is there a way to have the Nimbus Look&Feel render its own windows decorations for a top level JFrame?

Is there a way to have the Nimbus Look&Feel render its own windows decorations for a top level JFrame? I've been digging through the Internet, and I'm starting to suspect it might not be possible at all. Has anyone actually succeeded with (and cared…
Unai Vivi
  • 3,073
  • 3
  • 30
  • 46
2
votes
3 answers

How to override Nimbus button margins for a single button

I have created a text field component with an 'x' button inside that will clear the field's text. It works great when using Window's system look and feel (for Windows), however I am having problems trying to get the right look when using Nimbus -…
purplecat
  • 252
  • 1
  • 6
  • 10
2
votes
1 answer

With Nimbus laf, my JOptionPane doesn't get focus when called from a combobox ItemEvent

hope you can help. I'm hoping this isn't just a bug and that we can solve it. I currently have a Java program with a JComboBox. When the user changes the selected item in the combo box a JOptionPane appears to allow the user to confirm the…
Daryl
  • 203
  • 1
  • 2
  • 8
2
votes
1 answer

swing nimbus ShadowEffect

I use Nimbus look and feel in my swing applications and it's pretty cool. I noticed that it is a "pure" look and feel: it "skins" components, but does not add new graphical elements. I wonder if some part of its rendering technology is reusable,…
AgostinoX
  • 7,477
  • 20
  • 77
  • 137
2
votes
1 answer

In nimbus-jose-jwt, what is difference between lifespan and refreshTime?

The class DefaultJWKSetCache of nimbus-jose-jwt has two fields, lifespan and refreshTime. From Java docs - lifespan - The lifespan of the cached JWK set before it expires, negative means no expiration. refreshTime - The time after which the cached…
samshers
  • 1
  • 6
  • 37
  • 84
2
votes
2 answers

Render TableCell with JComboBox and selection background

I have a requirement to render selected/focused cells in JTable with a JComboBox if the column in question uses combo as editor. The intent of this is to give hint to users that cells in the column is edited with a combo rather than a JTextField. My…
Uhlen
  • 1,778
  • 15
  • 29
2
votes
1 answer

Change JComboBox colours WITHOUT renderer

I can change the ComboBox background color using: UIManager.put("ComboBox.background", Color.RED); and it works. But to change the [selected].background, having a look at Nimbus Defaults the property is called…
Roman Rdgz
  • 12,836
  • 41
  • 131
  • 207