can anybody help m in displaying an image file into GUI ?basic please bcoz i m newbie TQ
Yes use JLable is best and easy way for displaying image in your GUI
If you dont know how to set image to jLable then see this code will help you:
JLabel label = new JLabel();
label.setIcon(new javax.swing.ImageIcon(getClass().getResource("your img file path")));
We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.