marquilouie
Moderator
Age : 35
Registration date : 2009-02-04
Number of posts : 59
Location : Mandaue City
|
Subject: Need Help in Programming, unsa on pag resize ug object sa Java,.... Sat Feb 07, 2009 12:10 pm |
|
|
unsa on pag resize ug object sa Java,...
setSize()?? -ug kani man gud kay ang container ra ang pwede ma resize,.. -ug e apply nako sa label or sa button or sa textfield kay way effect...
hoping for your positive response,.... |
|
Admin
Admin
Age : 36
Registration date : 2009-02-03
Number of posts : 79
Location :
|
Subject: Re: Need Help in Programming, unsa on pag resize ug object sa Java,.... Sat Feb 07, 2009 12:20 pm |
|
|
Put
import java.awt.Dimension;
at the top of your code
JTextField newTextfield = new JTextField(); newTextfield.setPreferredSize(new Dimension(200,25)); newTextfield.setMinimumSize(new Dimension(200,25)); newTextfield.setMaximumSize(new Dimension(200,25)); // Optional |
|
marquilouie
Moderator
Age : 35
Registration date : 2009-02-04
Number of posts : 59
Location : Mandaue City
|
Subject: Re: Need Help in Programming, unsa on pag resize ug object sa Java,.... Thu Feb 26, 2009 3:46 pm |
|
|
dili mo gana archon,....T_T |
|
Sponsored content
|
Subject: Re: Need Help in Programming, unsa on pag resize ug object sa Java,.... |
|
|
|
|