View Single Post
  #4 (permalink)  
Old 06-08-2007, 07:11 AM
Felissa Felissa is offline
Member
 
Join Date: Jun 2007
Posts: 95
Felissa is on a distinguished road
RE: Applet, To center text and To open I engage in a dialog in an Applet
Here is an example of applet
about the part 2 that you describe, I dont understand, send the code maybe I can help you.

greetings

Code:
import java.awt.*; import java.applet.Applet; public class AWT extends Applet { public void init() { setLayout(new BorderLayout()); add(new Button("North"), BorderLayout.NORTH); add(new Button("South"), BorderLayout.SOUTH); add(new Button("East"), BorderLayout.EAST); add(new Button("West"), BorderLayout.WEST); add(new Button("Center"), BorderLayout.CENTER); } }
Felissa
Reply With Quote