uimanager Questions

5

I'm new to react native and have some experience with using regular React and am trying to get react native navigation setup but am running into the following error when following the docs. I've tr...
Caenogenesis asked 7/9, 2020 at 14:33

6

Solved

I am trying to change the color of a JToggleButton when it has been selected in a reliable, look and feel independent way. If using the Metal L&F, then using the UIManager is an approach: UIMan...
Budbudapest asked 27/4, 2011 at 17:21

4

Solved

I've seen people use UIManager to change strings of some pre-created swing components (e.g. JFileChooser). Where can I find some kind of reference that will tell me which strings in which componen...
Gamaliel asked 12/9, 2012 at 19:0

12

Solved

I was wondering how to set the default font for my entire Java swing program. From my research it appears it can be done with UIManager, something to do with LookAndFeel, but I can't find specifica...
Flowage asked 15/9, 2011 at 17:13

5

Solved

There seem to be a ton of UI properties that can be set with UIManager.put("key", value); Is there a list somewhere of all keys that can be set?
Dorolisa asked 23/12, 2009 at 9:11

1

I am having trouble styling a JScrollPane. I just want to be able to change the color of both the thumb and the background (and also remove the increase/decrease buttons). So far I have tried the f...
Buke asked 12/4, 2014 at 23:38

3

Solved

I wonder how can I remove this grey border from buttons in dialogues? For simple JButtons I found a solution - just use button.setFocusPainted(false); But is there a simple way to perform the sam...
Buttery asked 16/11, 2012 at 18:52

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

5

Solved

I am kind of confused on where to put this : try { UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName()); UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLook...
Neptunian asked 2/3, 2012 at 22:9

1

Solved

I have recently been attempting to convert a system to a unified look and feel (In this case Nimbus). However certain components require alteration from the defaults and I don't want to just change...
Engender asked 24/2, 2015 at 8:40

3

Solved

I need to implement font size switching in my app. But when I increase font's size RadioButtons remain same size and on small screen with high resolution my customer just can't hit it easily. Is th...
Holey asked 18/10, 2012 at 11:7

1

Solved

I what to change background as night mode changes. I have /values and /values-night folder, that contain "colors.xml" with different values. ` <color name="grey1">#ebebeb</color> &lt...

3

Solved

I have a question regarding the border around an undecorated JDialog using the Metal L&F. Look at this picture to see the border that is on this window: I'm trying to figure out how to eit...
Suggestion asked 1/7, 2013 at 21:2

2

Solved

When doing Java JFrame design, I need to edit the font size and font type manually each time drag and drop from the Swing palette. The default font of Java Swing components is Tahoma 11 plain...
Slipshod asked 15/6, 2013 at 9:29

2

Solved

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 JProgressBa...
Belindabelisarius asked 17/1, 2013 at 7:19

4

Is there a list somewhere of the UIManager.getColor() keys for Swing? I can't seem to find it online, just occasional references to strings like "Panel.background" and "Table.selectionBackground". ...
Elsey asked 8/4, 2009 at 15:56

2

Solved

I have a custom ListCellRenderer and would like to use the default Nimbus selection backround color. I can lookup the color with: Color selectionBackground = UIManager.getColor("nimbusSelectionBac...
Reflective asked 8/9, 2011 at 19:48

4

I am running a Swing application on Win7 using a 144 dpi flatscreen monitor. The titles of my frames, option panes, etc., all appear in white on a transparent background (Aero?). I like Aero in gen...
Penneypenni asked 27/11, 2011 at 15:46

3

Solved

I want to use a different background color for all my JPanels in an application. How can I do that when using Nimbus Look and Feel? I follow Changing the Color Theme to change the color of compone...
Sobriety asked 23/11, 2011 at 17:34

1

i changed the background color of my JTextField to black when it is disabled. I do this using the UIManager and this property TextField.disabledBackground, that i set at application start up. I wou...
Byers asked 24/5, 2011 at 17:58

2

Solved

I have the following problem. I need to get an UI properties: UIManager.getString("OptionPane.okButtonText") that returns the string "OK", and it works. However, if I iterate through the UIDefau...
Aftermath asked 20/4, 2011 at 11:9

1

Solved

I am building an application in java swing and I am using the following code to give the UI a native OS look try { UIManager.setLookAndFeel( UIManager.getSystemLookAndFeelClassName()); } catch ...
Stacy asked 8/6, 2010 at 17:7
1

© 2022 - 2024 — McMap. All rights reserved.