Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a custom look and feel for Java Swing? [closed]

Tags:

I want to create my own look and feel in Swing. Can anyone give me succinct knowledge about how to do this?

like image 820
Ashish Avatar asked Mar 21 '11 12:03

Ashish


People also ask

How do you add an image to Jform?

Adding an Image in Java JFrame Firstly, we create a JLabel using the Java Swing library. Secondly, we use the setIcon() method to add and display the image. This method defines to display the icon. However, if the value of the icon is null, nothing is displayed.


1 Answers

Have a look at Ralph Kar's explanation of how to subclass Swing's Basic L&F, or perhaps the Swing tutorial: Modifying the Look and Feel.

like image 147
MattBianco Avatar answered Oct 02 '22 20:10

MattBianco