look-and-feel Questions

2

Solved

I have a Java Swing project which works fine on both Windows and Ubuntu. I did not have any Macs so I could not test it; I have used the Nimbus theme as the standard for this project. Now, recent...
Proprietor asked 24/4, 2012 at 15:43

3

Solved

Apparently, there are (at least?) two different native File choosers on Windows (10). There is this one, which is used by JFileChooser and other programs: And there is that one, for example used ...
Poppo asked 2/10, 2016 at 16:48

5

Actually what is meant by look and feel?
Retard asked 10/4, 2010 at 9:31

5

Solved

Does anybody know a way to "skin" Java desktop applications. (Like Winamp skins, or skins for MirandaIM)? I don't want to create my own look and feel.
Haldane asked 11/2, 2010 at 22:41

6

I have the following simple code: btn = new JButton(); btn.setBackground(backgroundColor) I worked when I used: UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsClassicLookAndFe...
Mccormick asked 14/2, 2011 at 10:14

2

I am using the following code to present an error dialog in Java Swing: JOptionPane.showMessageDialog(null, "Arquivo de imagem não encontrado. Por gentileza, altere o caminho do arquivo.", "Erro",...
Blancmange asked 25/11, 2015 at 21:22

3

Solved

Would like to repaint the the marker or the thumb of the JSlider instead of the standard gray. How can I achieve this?
Whorled asked 9/8, 2011 at 7:16

1

Solved

What does a Swing text field look like when editable, not editable and disabled, across various Pluggable Look & Feel implementations? Below is an answer for PLAFs seen on Windows &...
Quadrennial asked 22/2, 2019 at 7:45

3

Solved

How might I go about changing the color of a JOptionPane's border? Here is a screenshot of the border I am talking about: That blue border is what I am trying to get rid of. I tried to set UI...
Proboscidean asked 3/7, 2013 at 15:36

1

Solved

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 ...
Herrah asked 4/12, 2018 at 1:47

1

Solved

For some reason we use com.sun.java.swing.plaf.windows.WindowsComboBoxUI class which worked on Windows/Linux/Mac OS platforms with Java 5.0 through Java 8.0 Starting with Java 10 and Java 11 (we w...
Wedekind asked 22/11, 2018 at 19:40

3

Solved

So far I have this public static void main(String[] args) { try { UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel"); UIManager.getBorder("design");//change look and ...
Heth asked 16/1, 2011 at 20:1

4

Solved

I have a number of components on panel and I want to apply different look and feel to different components. Is it possible?
Buddhism asked 18/5, 2012 at 11:31

1

Solved

I am having an issue where the JRE crashes whenever I check if the GtkLookAndFeel is supported. Surprisingly, this bug only appears to show up on Oracle JREs. So far I have tested the behavior on ...
Equally asked 29/8, 2014 at 12:51

1

We have a Java application that used Swing, but we are migrating it to JavaFX. Therefore, we wrap the old Swing code into SwingNodes and replace them step-by-step. Before migrating, the Swing appl...
Raeraeann asked 4/5, 2017 at 15:28

4

Solved

Eclipse has a context menu item to hide the entire toolbar of RCP. Where is the corresponding menu item to show the hidden toolbar? I know it should be shown if using a new workspace. However I...
Rosinski asked 29/11, 2010 at 7:21

3

Solved

I am trying to switch from using a JFileChooser to a FileDialog when my app is being run on a mac so that it will use the OS X file chooser. So far I have the following code: FileDialog fd = new ...
Fu asked 3/8, 2009 at 21:24

7

Solved

I have a VB6 application where I'd like to have a consistent behavior among its controls application-wide. One of the behaviors, for example, would be highlighting a text box when it gains focus an...
Vitebsk asked 25/3, 2011 at 16:32

2

Solved

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 imple...
Extravagancy asked 4/7, 2011 at 13:2

3

Solved

I noticed that Metal L&F doesn't support certain arrow characters from Unicode, while Nimbus and GTK L&Fs do support them. Unsupported characters are just displayed as: ... Can I either...
Halland asked 29/12, 2010 at 20:29

1

We are getting an exception when changing the Windows Theme on Windows 7 (via right-click Desktop > Personalize) while our Java app is running. Searching the web did produce some results, but th...
Ingeminate asked 14/4, 2016 at 9:1

8

Solved

I'm trying to generate a JFileChooser that has the Windows look-and-feel. I couldn't find a method to change it, so I created a base class that extends JFileChooser that changes the UI with the fol...
Entwine asked 17/2, 2010 at 16:3

3

I tried out the function of the JProgressBar in Java. But there is a problem I couldn't solve: When I set the minimum to zero, the maximum value to 100 and the current value to 6 then nothing will...
Prudy asked 28/1, 2013 at 11:7

2

Solved

I'm using the SystemLookAndFeel which makes the default border around my buttons. Now I would like a ticker black border, but when I set the border it just adds my new border around the default on...
Koger asked 27/11, 2015 at 9:53

2

Solved

I have a JButton which I want to set the background to a color. JButton button = new JButton(); button.setVisible(true); button.setPreferredSize(new Dimension(student_scroll.getWidth(), 50)); butt...
Rothberg asked 21/11, 2015 at 3:47

© 2022 - 2024 — McMap. All rights reserved.