Hi,
I want to draw a custom JComponent (a waveform-display) with a “marker” indicating actual play position,the drawing is performed by an overidden paintComponent(). For performance-reasons i just wanna draw the area around the marker. This works just fine, but since the whole screen is deleted every frame, I just see this small area. I tried setOpaque(false) which should do the trick of not clearing the screen… but this didn’t help.
The “old” method of overwriting update(Graphics g) wasn’t successful,either.
The JComponent itself is situated on a JPanel.
Anyone here with a smart suggestion ?
greetings
basti