JPANEL SRIPE PANNED Hörer erkennen

public class ClassName extends JFrame implements ComponentListener {
    @Override
    public void componentResized(ComponentEvent e) {
       //set your code here
	}
}
Helpless Hawk