View Single Post
  #10 (permalink)  
Old 08-30-2008, 12:46 AM
willemjav willemjav is offline
Senior Member
 
Join Date: Dec 2007
Location: Spain
Posts: 342
willemjav is on a distinguished road
Code:
public void setpedFlag(boolean pflg) { midipedalflag = pflg; } public boolean getpedFlag() { return midipedalflag; }
These two methods reside in the second class to be used again in a third class. Maybe it is all to complicated. Anyway the code subject to discussion should just test the working of the pedal before its use in the third class.
Reply With Quote