sorry for the noob question, but
how to use proper java 3 tier architecture in a swing application?...
how to use proper java 3 tier architecture in a swing application?...
sorry for the noob question, but
how to use proper java 3 tier architecture in a swing application?...
machan simple inheritance and polymorphism is used there.its a small problem.
gmme tha question. (i wanna know how to implement tha display method)
man kiwwe barcode eken number ekak text field ekakata ganna hati witarai bro. api ewidiyata register mark up project ekak kara. n it workedNa brother. ur wrng! to read a simple barcode camera is enough! im not talkin about high level barcode systems.. but barcode is just a picture! it has data hidden all over it! lik a encrypted message!
just a small pro bro ,
it should work in command prompt
MACHAN,JAVA IGENA GANNA SINHALA SITE NADDA?
if you need help with any kinda java problems, Post here
Happy to help!
Adasigamayour problem is not clear, i mean you have not mentioned weather a constructors are used or not. so i implemented methods for all
public class Customer {
int cusNo;
String name;
String address;
double salesValue;
public void setData(int pcusNO,String pname,String paddress,int psalesValue){
cusNo=pcusNO;
name=pname;
address=paddress;
salesValue=psalesValue;
}
public void display(){
System.out.println("name is:" +name+" cusNO is: "+cusNo+" address is: "+address+"salesvalues are:"+salesValue);
}
}
class RegularCustomer extends Customer{
double discount;
double amountPayable;
public void setData(int pcusNO,String pname,String paddress,int psalesValue,double pdiscount){
super.setData(pcusNO, pname, paddress, psalesValue);
discount=pdiscount;
}
public void calculateAmountPayable(double TOTAL){
amountPayable=TOTAL-discount;
}
public void display(){
super.display();
System.out.println("Discount is "+discount+" Amount payable is "+amountPayable);
}
}
Adasigama
Dear Akhila ayya.....
Mama small java programer kenek.... Oyata puluwanda mata udawwak karanna....Java application ekak haraha kohomada serial port ekata program karanne kiyala...mata one Banking software wala wage..Button ekak haraha kelinma printer eken print karawa ganna(Pass book ekak print karanawa wage)..puluwannam help ekak denna...
jata java walin hoda project idea ekak kiyannako final project ekate
it's will be big help to me
mokak hari alut deyak hhmm
thanks yaluwa
machan applet ekak tama use karanna wenne,but just use tha visibility option
EX=
when the user click, visibility of tha jtextbar is on.otherwise off.
I think you knw tha coding fr this if you dont here it is,
jtext1.setVisible( true );
Not lyk this machan....
This is the senario...
When user press "Add new field" button a new field must be dynamically added to the current form. This is little bit complex. Have to mplement in JFrame form. Not in applet. If u can help me.