GUI freezes when drawing Wave from animation on JPanel though i used Swing Timer
问题 plese look at my code snippets , wha is wrong with it , it frrezes GUI when the Swing timer stats which is repeteadly paints on the jpnael ?? class WaveformPanel extends JPanel { Timer graphTimer = null; AudioInfo helper = null; WaveformPanel() { setPreferredSize(new Dimension(200, 80)); setBorder(BorderFactory.createLineBorder(Color.BLACK)); graphTimer = new Timer(15, new TimerDrawing()); } /** * */ private static final long serialVersionUID = 969991141812736791L; protected final Color