look-and-feel Questions
6
Solved
Does the text in Swing components have a default font? In particular, what about tab labels on JTabbedPanes?
I'm working on a mock-up of a GUI made with Swing and want it to blend it with a screen...
Mailemailed asked 16/9, 2009 at 16:54
2
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, whi...
Nonetheless asked 19/3, 2013 at 2:24
1
I've got an application that uses custom buttons all over the place for text and icons. Works great for windows and linux, but now OSX users are complaining. Text doesn't display on the mac, just '...
Benediction asked 29/1, 2013 at 17:53
4
Solved
I have already developed a Java application which is working well in Windows XP, Windows 7 & Windows 8 consumer preview. The application is developed using GWT, CSS3 with Spring framework...
Birdbath asked 14/6, 2012 at 4:2
3
Solved
I know that recent versions of iOS have added support for easy customization of the look and feel of its components through its "appearance" functionality. However, I'm not exactly artistically inc...
Howl asked 6/12, 2012 at 21:48
2
I am maintaining some code the implements a customized Look and Feel in Java. While doing a recent upgrade of Java version (for other reasons) I found that the Look and feel broke due to a field no...
Porush asked 20/8, 2012 at 14:54
2
Solved
I am trying to use the UIManager to get and clear some default key bindings so that the spacebar doesn't activate my JButtons, as explained here. Problem is, likely due to my synth look and feel, (...
Hawking asked 17/9, 2012 at 17:19
1
I have gone through this website Change look and feel of JSlider
but except for Slider.altTrackColor nothing else is working. I want to do something like shown in pic1 any suggestion would be of gr...
Arbitrage asked 6/9, 2012 at 6:13
6
Solved
I'm using platform look-and-fell and on Linux my JTextArea is pretty readable
But on Windows it uses "Monospaced 9" and the text is very small.
Why and what is the best way to fix that?
Why defau...
Ferous asked 23/6, 2011 at 22:46
1
I have created an application in Java Swing. I offer the option to change the look and feel of the application from a menu, but after adding a new tab in JTabbedPane, it is not getting updated with...
Sybarite asked 14/8, 2012 at 6:4
4
Solved
So I'm making a program selection tool, and currently i like the way everything looks with just the java look and feel. the only thing i want to change is the JFileChooser look and feel to Windows....
Thornhill asked 8/8, 2012 at 20:17
1
Solved
I know this question has been answered before, but it's just not working for me. I followed the instructions from here: How to change JProgressBar color?
import javax.swing.*;
import java.awt.*;
...
Rathenau asked 21/6, 2012 at 23:11
5
Solved
I have a simple JComboBox filter code like this :
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.util.ArrayList;
import java.util.List;
import javax.swing.DefaultCo...
Carpometacarpus asked 29/4, 2012 at 0:59
1
Solved
I'm essentially trying to mimic the default windows xp simple calculator. When I change the background colours of the buttons in Java it makes them look very flat and "boring". I want to make the b...
Boy asked 24/4, 2012 at 20:1
1
Solved
After trying to make sense of the Metrics and Grids page of the (fairly new) Android Design website, I gave up on a lot of things. So, basically, I'm trying to find the original layouts that are us...
Derogatory asked 13/3, 2012 at 4:8
1
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 possib...
Ph asked 25/1, 2012 at 11:55
2
Solved
Is there a way to change the default background painting of all instances of a swing component (a JPanel for example) to paint with a gradient background? Or would I need to create an extension of ...
Consecrate asked 9/3, 2012 at 14:36
1
Solved
After recent update of iTerm2 the split panes look different:
This is how it looked before (some random image found on the Internet):
Is there a way to get the original look back or do I have...
Esp asked 30/1, 2012 at 21:10
2
Solved
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 th...
Contortionist asked 9/1, 2012 at 18:39
6
Solved
In my current project we have to develop a good looking desktop based application in java.
Currently, we have a very basic desktop application written in swing and team does not have good swing kn...
Camala asked 28/5, 2010 at 6:34
2
Solved
I have a spinner which is in the Emulator light gray with black text also on HTC devices. On the Motorola Defy the control is dark-gray and the text is white.
How can I get the default text color ...
Ammeter asked 17/11, 2011 at 12:8
2
Solved
I have a Class MainWindow which extends JFrame.
In MainWindow i have a JMenuBar.
I want to show the MenuBar in OSX on top (next to the Apple Symbol). This only works, when i dont set a Substance S...
Effervesce asked 16/4, 2011 at 18:10
2
Solved
I am trying to create a JTable that has a row header that looks just like a column header and I have spent altogether too much time on it :/
My situation is similar to this question: JTable Row Hea...
Angara asked 3/11, 2011 at 22:0
1
Solved
I know this question has been asked a million times, and can be done by overriding paintComponent(), but what I want to know is how to change the shape while respecting the current Look And Feel. I...
Afterburner asked 23/10, 2011 at 2:31
3
Solved
I'm trying to call setBackground on a JPanel, so that it matches the color of my JFrame, but the color is some how brighter than the one I type in.
I've have tried setting HSB, RGB, HEX code, they...
Seventeenth asked 4/10, 2011 at 9:31
© 2022 - 2024 — McMap. All rights reserved.