JLabel specific GIF animation plays too fast

NitaY

New Member
like 100x the speed shown here. Is there any fix to this? or should i just slow the "normal speed of the GIF further"
AnrWw.gif
\[code\]import javax.swing.Icon;public class StartPanel extends JPanel { /** * Create the panel. */ public StartPanel() { setLayout(null); JButton startButton = new JButton("Start"); startButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent arg0) { } }); startButton.setBounds(262, 408, 97, 25); add(startButton); Icon icon = new ImageIcon("startup.GIF"); JLabel logo = new JLabel(new ImageIcon("H:\\Portable Apps\\files\\startup.gif")); logo.setBounds(129, 13, 350, 350); add(logo); }}\[/code\]
 
Back
Top