|
Java™ by example!
|
|
|
How do I draw a shape inside a JLabel?
 You can override the paint() method, call super.paint(g) and draw your shape as shown in following example. Main.java:
Further Information
Author of answer: Joris Van den Bogaert
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|