guys pa help naman how to make gui
jframe
jlabel
jbutton
jtextfield etc.
na confuse njud ko
mao ni ai
https://www.istorya.net/forums/profil...editprofilepic
enx daan guys
guys pa help naman how to make gui
jframe
jlabel
jbutton
jtextfield etc.
na confuse njud ko
mao ni ai
https://www.istorya.net/forums/profil...editprofilepic
enx daan guys
public static void main(String[] args){
frame = new JFrame();
label = new JLabel("Label");
button = new JButton("Press Me");
field = new JTextField("No Data");
frame.getContentPane().add(label);
frame.getContentPane().add(button);
frame.getContentPane().add(field);
frame.getContentPane().setVisible(true);
}
Hehehe...dugay2x na raba ko og java...pakisulti kung naay errors
ahh. .
mao man ni ang prob ai
under sa class PURCHASE mao ni ang naa. .
-requisition #
-date ; DATE
-no of items : int
-Supplier ; Supplier
nya sa <<abstract>> class Supplier kai
-Supplier # ;
-address : Address
-name ; String
-owner ; Name
-tyrpe ; String
toString(); String
under sa Class Supplier kai
Regular
discount ; double
Schedule ; String
Casual
Charge double
mao na cla how to make a gui
It might be nice to download JDeveloper 10G.
It is an IDE with a GUI Designer which mainly uses null constraints. (Meaning position based ni siya)
The code generated will be very readable and easy to learn.
ang ui in general...
For the Purchase Order.
You have a few field boxes for the Purchase Order Fields. (PO Number, Requisition #, Date, Supplier, Total Amount, Total Quantity)
Then use a jTable for the Purchase order detail. (Item Code and Description, Quantity, Unit Price, Amount)
For the Supplier.
Its is a master data, make sure you have one unique key.
you can just use field boxes for Supplier Name, Address, Contact Person, Contact Address.
For the requisition.
same ra sa PO without the requisition number, pero kung ganahan ka og back reference sa PO, butangi og PO.
pwed pa tabang lng sa unsaon pag gui sa PURCHAsE lng. . ??
Similar Threads |
|