
when i am trying to insert into apache derby databse using java in netbeans an exceprion is thrown at run time like this:- java.lang.ClassNotFoundException: org.apache.derby.jdbc.ClientDriver....what will be the reason?? do help

Actually in my netbeans there was no sun java db associated...so i downloaded the db and added the clientdriver jar file in the library...so now the program is successful...if any body need the program or helping in this kind of programs please post as a reply below..

JDesktopPane dp= new JDesktopPane();
JLabel l1= new JLabel("Name");
final JTextField ar1= new JTextField(7);
JLabel l2= new JLabel("Place")a;
final JTextField ar2=new JTextField(7);
JLabel l3= new JLabel("E_mail");
final JTextField ar3=new JTextField(7);
JButton bt1=new JButton("OK");
JButton bt2= new JButton("Reset");
JPanel pl= new JPanel(true);
pl.setLayout(new GridLayout(4,2, 2, 7));
pl.add(l1);pl.add(ar1);pl.add(l2);
pl.add(ar2);pl.add(l3);pl.add(ar3);
pl.add(bt1);
pl.add(bt2);
intfr.add(pl);intfr.setBorder(null);
//intfr.setClosable(true);
//intfr.setMaximizable(true);
//intfr.setIconifiable(true);
intfr.setSize(200,200);
intfr.setVisible(true);
intfr.setLayout(new FlowLayout());
dp.add(intfr);
super.setContentPane(dp);
intfr.setFrameIcon(null);
try {
intfr.setMaximum(true);
} catch (PropertyVetoException ex) {
Logger.getLogger(MenuDemo.class.getName()).log(Level.SEVERE, null, ex);
}
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.