Thank you so much, all of you kind guys! Today I successfully run this simple programming and it showed the string, finally solved it and I am so glad!
Type: Posts; User: ice
Thank you so much, all of you kind guys! Today I successfully run this simple programming and it showed the string, finally solved it and I am so glad!
Hi Darryl
Thank you for interesting in this thread, I run the code in Netbean, it only comes out an empty window. So I guess the method is not called?
Hi Copeg
Thank for very much your advice, now I add your tips in and put the code inside the tag. But it still shows a completely empty frame after I run it.
Any more thought?
package...
Hi guys
Thank you for your attention, I have absorbed member Lucasantos and Kevinworkman's advice: please see below code. but paintComponent method is still not invoked.
Does anyone know why?
...
Hi Lucasantos
Thank you so much for your suggestion. I really tried to add your extra code in, but it still shows the same, whcih is showing an empty window with only the title ("Your Frame") on top...
Hello guys
Below code can't display text "Hello world", I guess it's because paintComponent method is not invoked, but why it is not invoked?
Thanks heaps
package xxx;
import...