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...
Type: Posts; User: sebbe605
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...
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...
Errors you say:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at project.MediaHandler.addMovie(MediaHandler.java:19)
at...
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...