View Single Post
  #1 (permalink)  
Old 12-02-2008, 05:53 AM
Urgle Urgle is offline
Member
 
Join Date: Oct 2008
Posts: 30
Rep Power: 0
Urgle is on a distinguished road
Default Images in AWT frame
how can I put an image in an AWT frame that is run outside of an applet?

Heres the code for my frame:
Code:
Frame f=new Frame("Music Info:");
      f.setBackground(Color.yellow);
      f.setVisible( true );  
      TextArea textArea=new TextArea("Come Clarity by In Flames",2,30);
      textArea.setEditable(False);
      f.add(textArea);
      f.setLayout(new FlowLayout());
      f.setSize(250,250);
Reply With Quote