S
SJ L via JavaKB.com
Hello, I am trying to write a viewer that is able to read/display bmp, jpg,
gif and png files. Currently, my program is unable to read bmp files! Help!
ImageIcon ii = new ImageIcon(str);
CustomScrollPane sp = new CustomScrollPane(new JLabel(ii));
where did i go wrong... using the above code i am able to read jpg, gif and
png!
gif and png files. Currently, my program is unable to read bmp files! Help!
ImageIcon ii = new ImageIcon(str);
CustomScrollPane sp = new CustomScrollPane(new JLabel(ii));
where did i go wrong... using the above code i am able to read jpg, gif and
png!