Thread: Border Layout
View Single Post
  #5 (permalink)  
Old 05-12-2008, 10:46 AM
naiara naiara is offline
Member
 
Join Date: May 2008
Posts: 4
naiara is on a distinguished road
Yah, You can use the border layout in an applets.
This is the way to use the border layout in an applets

setLayout(new BorderLayout());
setFont(new Font("Helvetica", Font.PLAIN, 14));
add("North", new Button("North"));
add("South", new Button("South"));
add("East", new Button("East"));
add("West", new Button("West"));
add("Center", new Button("Center"));
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote