Search:

Type: Posts; User: sebbe605

Search: Search took 0.19 seconds.

  1. Replies
    8
    Views
    1,497

    [SOLVED] Re: repaint from another class!

    Okay, this is a tricky one. I tried to rebuild the shelf's by simply calling:


    private void addComponents() {
    JPanel shelfs = buildShelfs();
    this.add(shelfs);
    }


    And this as far as i...
  2. Replies
    8
    Views
    1,497

    [SOLVED] Re: repaint from another class!

    It goes back to the function i call:


    public void repaintWindow() {
    this.getContentPane().validate();
    this.getContentPane().repaint();
    }


    I'm not sure if i can call the repaint. I...
  3. Replies
    8
    Views
    1,497

    [SOLVED] Re: repaint from another class!

    Errors you say:


    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at project.MediaHandler.addMovie(MediaHandler.java:19)
    at...
  4. Replies
    8
    Views
    1,497

    [SOLVED] repaint from another class!

    Hi, as the topic follows im trying to repaint a window from another class. the class Window handles an interface that displays pictures of movies. Via a JMenuBar you can add a new movie and its...
Results 1 to 4 of 4