I am a beginner at Net Beans and JAVA
I have created a project in NetBeans that has Tabbed Pages
One one of the pages the is a JPanel and some other components like labels, text boxes and buttons.
The JPanel displays some lines and text that make-up a graph.
When the user clicks on some buttons, it changes the output of the graph.
My problem is that when it redraws, it it flickers very obviously.
I would like to have it not flicker.
I tried to implement some examples of double buffering, but when I do, the other components are hidden. This is probably because it is repainting the whole window. But I don't know how to fix it.
For this project, I would like someone to fix the flickering and place comments to explain how the code works.
I need the NetBeans project fixed so that I can continue working with it.