Questions tagged [look-and-feel]

Questions about the Look and Feel (LaF) of applications with a graphical user interface (GUI). This includes questions on how to achieve a certain appearance (such as the native OS style) or how to alter a component's behaviour.

Look-and-feel can refer to any visual user interface, including individual applications, the operating system itself, or web sites. The 'look' refers to the interface's style (colors, fonts, icons and even branding) and layout of components on the display. The 'feel' refers to how these components behave, especially to user input. This is also known as usability or accessibility.

See also:

Look and Feel - Wikipedia

How to Set the Look and Feel in Java

934 questions
0
votes
1 answer

JFrame multiple styles

There is some standard way to style an JFame (Buttons, etc ...) similar what is done for internationalization with .Properties files?
R063R
  • 27
  • 2
  • 5
0
votes
2 answers

JFileChooser opens the regular file browser instead of the expanded one

Following my previous two posts here and another one here, the following code opens the regular file browser instead of the expanded one: public class GuiHandler extends javax.swing.JFrame { // data members private DataParser xmlParser =…
JAN
  • 21,236
  • 66
  • 181
  • 318
0
votes
1 answer

Nullpointerexception only with LaF Nimbus

I get a Nullpointerexception at addPropertyChangeListener when I am using Nimbus Look and Feel. When I use the Linux Standard LAF (Metal) everything works just fine. Here is a small Testproject which simulates the problem! I have a Class which…
Andreas Freitag
  • 357
  • 1
  • 7
  • 20
0
votes
3 answers

Look and Feel in List in java

I Write a small program that will switch among number of L&F Just choose L&F from list and button will looks different. but not change when Second chance and I am beginner with java :) this my code private void…
imalak
  • 11
  • 1
  • 1
  • 3
0
votes
1 answer

Embed GTK look and feel in runnable jar

I have a little problem. I made an application which has to use the GTK Look and Feel. But the user will be able to launch the application from windows OS where this LaF doesn't exist... Can anyone tell me whether it's possible to embed GTK LaF in…
paranoia25
  • 626
  • 1
  • 5
  • 23
0
votes
3 answers

Java - Look and Feel issue

I'm having a problem with the java look and feel. I've set it to the Nimbus skin with the following code in my main method: public class Main { public static void main(String[] args) { try { boolean found =…
Manitoba
  • 8,522
  • 11
  • 60
  • 122
0
votes
1 answer

How to set LookAndFeel to transient to allow serializability of View

I have a controller which I want to save to disk. It contains a view I would also like to serialize. The lookAndFeel however is not serializable. The error I get when trying is: java.io.NotSerializableException:…
kentcdodds
  • 27,113
  • 32
  • 108
  • 187
0
votes
1 answer

Changing colors of JButtons of LookAndFeel

I am working on an Java application, and I'm setting the LookAndFeel. Everything of the LAF I like except the default background color of the JButtons. What's the best way to set that (and other properties) after I set the look and feel? I don't…
K2xL
  • 9,730
  • 18
  • 64
  • 101
0
votes
1 answer

Java nimbus Look and feel view is always different

I have set the look and feel nimbus in my java application, but i dont know why the view is always different from one frame to other. in a frame I got perfectly good blue nimbus, and in other frame I got the grey one but that's not proper. and the…
charcoalite
  • 43
  • 1
  • 2
  • 10
-1
votes
1 answer

What look and feel does ubuntu use?

What look and feel does ubuntu use, (11 or higher)? I want to use the same in a swing application that will run on windows. Where can I find the jar for that lnf?
frewper
  • 1,385
  • 6
  • 18
  • 44
-1
votes
1 answer

JTextFieldUI painted in another tab of the JTabbedPane with my personal look and feel

I'm developing a new look and feel and now I have a bug with the component JtextField when to use it inside the JTabbledPane component. So the bug is this I have this code for my JTextFieldUI, it extends BasicLookAndFell public class…
vincenzopalazzo
  • 1,487
  • 2
  • 7
  • 35
-1
votes
1 answer

How to change Netbeans Java (project GUI) look and feel?

Every time I run my Java SE(swing) program it runs with Nimbus Look and Feel, but my design is based on Windows Look and Feel, how can I make it so that my default program running has Windows look and feel and not Nimbus? I have searched in few…
-1
votes
8 answers

Skins in delphi7

I wish to skin my aplication and have noticed that there appears to be no obvious way to do this. I am used to skinning files for java and wondered if there was any way of changing the appearance of the "standard" delphi7 application. Edit:(taggs)
Arthur
  • 3,376
  • 11
  • 43
  • 70
-1
votes
1 answer

why SyntheticaClassyLookAndFeel showing layer over transparent panels

import java.awt.*; import de.javasoft.plaf.synthetica.SyntheticaClassyLookAndFeel; import javax.swing.*; public class TB extends JFrame { { try { UIManager.setLookAndFeel(new SyntheticaClassyLookAndFeel()); } …
vinay negi
  • 38
  • 1
  • 7
-1
votes
1 answer

Is it possible to change any Windows Desktop Property Look and Feel?

In the company where I work, we derived a class from sun.awt.WToolkit to change some of the colors by calling setDesktopProperty(). And that worked fine for years. But now in JDK 8, WToolkit is final and cannot be subclassed. The easy way out could…
Stelios Adamantidis
  • 1,866
  • 21
  • 36