Search:

Type: Posts; User: copeg

Search: Search took 0.10 seconds.

  1. Replies
    10
    Views
    3,766

    [SOLVED] Re: Flicker with JPanel in JApplet

    Good luck, and post again if you have troubles. For what its worth, I've written some pretty comprehensive painting implementations, and the times I witnessed flickering it was a simple...
  2. Replies
    10
    Views
    3,766

    [SOLVED] Re: Flicker with JPanel in JApplet

    Really? You replaced all the code in your paint method with the one posted above? That works on my end.



    1) A JPanel honors the color in the setBackground method
    2) Calling the super.paint or...
  3. Replies
    10
    Views
    3,766

    [SOLVED] Re: Flicker with JPanel in JApplet

    Actually, I stand corrected. I misread your code in a few places - I apologize.

    For point a, this wasn't directly related to your problem. Just general advice - I speak from experience when I...
  4. Replies
    10
    Views
    3,766

    [SOLVED] Re: Flicker with JPanel in JApplet

    Some recommendations a) I wouldn't recommend using a null layout. b) Override paintComponent, not paint (there is a big difference when trying to add components to the component being painted,...
Results 1 to 4 of 4