I think your code is almost right. However, I think you need JFrame in order to have graphics on the screen. Notice ColorPanel uses Graphics in order to draw string on the screen. In Main class, I...
Type: Posts; User: nazislam
I think your code is almost right. However, I think you need JFrame in order to have graphics on the screen. Notice ColorPanel uses Graphics in order to draw string on the screen. In Main class, I...
Hello everyone, I am Naz Islam and I am a Java developer.
Looking for learning new tricks in Java and helping others.
Thank you.