public class NewJMXClass extends StandardMBean implements NewJMXClassMBean { private CustomDialog theRef; public NewJMXClass(CustomDialog theRef) { this.theRef = theRef; } public int getCount() { return theRef.getCount(); } public void setCount(int value) { theRef.setCount(value); } public boolean getCloseOK() { return theRef.getCloseOK(); } public void setCloseOK(boolean bool) { theRef.setCloseOK(bool); } public void reset() { theRef.reset(); } }