may i ask again!different question but still use netbean! i want active a tombol in a condition, i have 5 question in panel a if the 5 question is true tombol in panel b is active!how the idea,i tried use method getParent but is not succes!thanks all
and how change the path from hardisk like this to url with type string so i can't not to change that path if i use to another computer
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
this.soundClass = new soundClass();
this.soundClass.setPath("D:\\Documents and Settings\\Miss. Mia\\My Documents\\blabla\\haha\\ba.wav");
this.soundClass.initClip();
this.soundClass.play();
}
thanks all!