FULL PRODUCT VERSION :
1.4.2_10
ADDITIONAL OS VERSION INFORMATION :
Windows98 Second Editon
Win2000 Professional SP4
WindowsXP Professional/Home SP2
EXTRA RELEVANT SYSTEM CONFIGURATION :
LAN 100Base-T
Platform : Win2000 Professional SP4
A DESCRIPTION OF THE PROBLEM :
The following program run, "CPU 100% usage " always occurs.
(JButton with non-transparent GIF Image put JPanel.)
combo_up.gif is "non transparent GIF " Image.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
The case of "transparent GIF " Image "CPU 100% usage " doesn't occur.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
CPU usage of PC doesn't become 100%.
ACTUAL -
CPU usage of PC become 100%.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
No, but action of Java Appliation become slow.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javax.swing.*;
import java.awt.*;
import java.net.*;
public class test extends Panel{
ImageIcon imageIcon = new ImageIcon(test.class.getResource("combo_up.gif"));
public test(){
this.add(new JButton(imageIcon));
}
public static void main(String[] args){
JFrame test1 = new JFrame("");
test1.getContentPane().add(new test());
test1.setSize(100,100);
test1.setVisible(true);
}
---------- END SOURCE ----------