†Asian Ins†i†u†e Of Compu†er Studies†
†Asian Ins†i†u†e Of Compu†er Studies†

Flow Layout Downlo10
Please Register To Log in...
†Asian Ins†i†u†e Of Compu†er Studies†
†Asian Ins†i†u†e Of Compu†er Studies†

Flow Layout Downlo10
Please Register To Log in...
†Asian Ins†i†u†e Of Compu†er Studies†
Would you like to react to this message? Create an account in a few clicks or log in to continue.

†Asian Ins†i†u†e Of Compu†er Studies†


 
HomeGalleryLatest imagesSearchRegisterLog in
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
†AE1DA†MixPOD†

Latest topics
» JAVA CALCULATE
Flow Layout I_icon_minitimeMon Sep 17, 2012 2:14 pm by †`Li†o`†

» Grid Layout
Flow Layout I_icon_minitimeMon Aug 13, 2012 3:43 pm by †`Li†o`†

» Flow Layout
Flow Layout I_icon_minitimeMon Aug 13, 2012 3:41 pm by †`Li†o`†

» Border Layout
Flow Layout I_icon_minitimeMon Aug 13, 2012 3:38 pm by †`Li†o`†

» InputStreamAndOutputStream
Flow Layout I_icon_minitimeMon Aug 13, 2012 3:31 pm by †`Li†o`†

» Triangles Task 1 & 2
Flow Layout I_icon_minitimeMon Jul 23, 2012 3:32 pm by †`Li†o`†

» Java Central and Sub Class
Flow Layout I_icon_minitimeMon Jul 09, 2012 3:40 pm by †`Li†o`†

» Payroll Code Part 2
Flow Layout I_icon_minitimeMon Jul 02, 2012 4:03 pm by †`Li†o`†

» pakyu to .i.
Flow Layout I_icon_minitimeMon Jun 25, 2012 4:20 pm by `jhajha lanqs`

» Payroll Code
Flow Layout I_icon_minitimeMon Jun 25, 2012 3:58 pm by †`Li†o`†

» this is it ! xDD !!
Flow Layout I_icon_minitimeTue Feb 28, 2012 8:11 am by `jhajha lanqs`

» Summary/ Plot Of DATE MOVIE!!
Flow Layout I_icon_minitimeTue Feb 28, 2012 8:06 am by †`Li†o`†

» about valentines day !
Flow Layout I_icon_minitimeFri Feb 17, 2012 7:24 am by `jhajha lanqs`

» cos3 Number Guessing Game !
Flow Layout I_icon_minitimeMon Feb 13, 2012 7:49 am by @†`JeRoLD`†

» eto yown e....
Flow Layout I_icon_minitimeMon Feb 13, 2012 6:22 am by †`Li†o`†

Top posters
†`Li†o`† (80)
Flow Layout I_vote_lcapFlow Layout I_voting_barFlow Layout I_vote_rcap 
`jhajha lanqs` (42)
Flow Layout I_vote_lcapFlow Layout I_voting_barFlow Layout I_vote_rcap 
Jasper ! (12)
Flow Layout I_vote_lcapFlow Layout I_voting_barFlow Layout I_vote_rcap 
@†`JeRoLD`† (9)
Flow Layout I_vote_lcapFlow Layout I_voting_barFlow Layout I_vote_rcap 
hEEcHuL05 (9)
Flow Layout I_vote_lcapFlow Layout I_voting_barFlow Layout I_vote_rcap 
†.frAnCis.† (6)
Flow Layout I_vote_lcapFlow Layout I_voting_barFlow Layout I_vote_rcap 
jenny (5)
Flow Layout I_vote_lcapFlow Layout I_voting_barFlow Layout I_vote_rcap 
†Yaphe†S† (3)
Flow Layout I_vote_lcapFlow Layout I_voting_barFlow Layout I_vote_rcap 
Lhuisi†0 (1)
Flow Layout I_vote_lcapFlow Layout I_voting_barFlow Layout I_vote_rcap 
julie cko (1)
Flow Layout I_vote_lcapFlow Layout I_voting_barFlow Layout I_vote_rcap 
May 2024
MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
2728293031  
CalendarCalendar

 

 Flow Layout

Go down 
AuthorMessage
†`Li†o`†
Admin
†`Li†o`†


Male Scorpio Posts : 80
Points : 168
Reputation : 9
Birthday : 1995-11-16
Join date : 2011-08-31
Age : 28
Location : Mayapa Calamba Laguna
Job/hobbies : Playing Computer Games.

Flow Layout Empty
PostSubject: Flow Layout   Flow Layout I_icon_minitimeMon Aug 13, 2012 3:41 pm

Quote :

import java.awt.*;
import javax.swing.*;

class FlowExample {
private JFrame f;
private JButton b1;
private JButton b2;
private JButton b3;
private JButton b4;
private JButton b5;

public FlowExample() {
f = new JFrame("GUI Example");
b1 = new JButton("Button 1");
b2 = new JButton("Button 2");
b3 = new JButton("Button 3");
b4 = new JButton("Button 4");
b5 = new JButton("Button 5");

}

public void launchFrame() {
f.setLayout(new FlowLayout());
f.add(b1);
f.add(b2);
f.add(b3);
f.add(b4);
f.add(b5);
f.pack();
f.setVisible(true);
f.setSize(500,350);
}

public static void main(String args[]){
FlowExample guiWindow = new FlowExample();
guiWindow.launchFrame();
}
}


r=red]
Output:

Flow Layout Eqpen7

[/quote]
Back to top Go down
https://ae3ea.forumtl.com
 
Flow Layout
Back to top 
Page 1 of 1
 Similar topics
-
» Grid Layout
» Border Layout

Permissions in this forum:You cannot reply to topics in this forum
†Asian Ins†i†u†e Of Compu†er Studies† :: †AE1DA†Computer†Programming†Section† :: †JAVA†-
Jump to: