How can I reflect picture/image file in JFrame? Is there any component in javax.swing or java.awt?
JFrame frame = new JFrame();
frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
frame.setLayout( new GroupLayout( getContentPane() ) );
frame.setSize( new Dimension( 600, 480 ) );
frame.setLocationRelativeTo( null );
frame.getContentPane().setBackground( Color.LIGHT_GRAY );
// add Image container !!!
frame.setVisible( true )