Search:

Type: Posts; User: ice

Search: Search took 0.08 seconds.

  1. Replies
    13
    Views
    5,718

    Re: why paintComponent method is not invoked?

    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!
  2. Replies
    13
    Views
    5,718

    Re: why paintComponent method is not invoked?

    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?
  3. Replies
    13
    Views
    5,718

    Re: why paintComponent method is not invoked?

    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...
  4. Replies
    13
    Views
    5,718

    Re: why paintComponent method is not invoked?

    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?
    ...
  5. Replies
    13
    Views
    5,718

    Re: why paintComponent method is not invoked?

    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...
  6. Replies
    13
    Views
    5,718

    why paintComponent method is not invoked?

    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...
Results 1 to 6 of 6