sorry guys if im going to put some dirt in the ranch but i cant figure out how to match the designer size to runtime size. im just a student and im doing self study to further my knowledge in java this is the code that i did to atleast prevent the JFrame under other components from preventing it to run at a very small size
Product Version: NetBeans IDE 7.0 (Build 201104080000)
Java: 1.6.0_25; Java HotSpot(TM) Client VM 20.0-b11
System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb)
Userdir: C:\Users\Annalene Dela Cruz\.netbeans\7.0
zetcode xD anyway im trying to learn swing through netbeans im messing around the imodifyable generated code xD T T and trying it in a different main class xD and some sample from the net apparently im not learning fast haha xD any way thanks guys for the reply
oops sorry ...
xD is cross face like dead eyes (imo) T T is cry ( Y . Y ) i use to spend my time in online games but now im shifting my focus since im too old to spend the whole day playing xD
anyway thanks to the replies what i did is
final int a = 27;
i found out that during runtime it doenst count the header in size so i played a bit on the methods and this is what i got. i just dont know if its a good practice.