Search:

Type: Posts; User: bonus_clip

Search: Search took 0.34 seconds.

  1. Replies
    7
    Views
    1,345

    Re: Paint only part of screen

    Oh sorry. Well here is constructor for left panel:


    setLayout(null);
    ii = new ImageIcon("green arrow.png");
    label1 = new JLabel(ii);
    JLabel label2 = new JLabel(ii);...
  2. Replies
    7
    Views
    1,345

    Re: Paint only part of screen

    I tnink that i could get it working, but i have encountered problem.

    So, middle panel is PaintPanel (where drawing should be).

    On the left side, there is some, let say ControlPanel with some...
  3. Replies
    7
    Views
    1,345

    Re: Paint only part of screen

    Thank you for your advice. I will try to rewrite code, if i encounter problems, i will post them here.
  4. Replies
    7
    Views
    1,345

    Re: Paint only part of screen

    Can you give some example? Right now i have one class, AppCore, that extend JFrame, initialize other panels, and paint is also done here.
  5. Replies
    7
    Views
    1,345

    Paint only part of screen

    Hi everyone
    I've trying to make simple 2D game in Java, which involves moving sprites around.

    However, i don't know much about paint, so I ask is there a way for paint to use only part of screen?...
Results 1 to 5 of 5