Push Button Increments
Question: I have this declaration in init: pushButton1 = new Button(“0”). In the action class I try to increase the value from 0 through 9 every time I click the
Question: I have this declaration in init: pushButton1 = new Button(“0”). In the action class I try to increase the value from 0 through 9 every time I click the
Question: on a form based on the selection. I tried this two ways: 1) Using the validate method. This worked when the value was changed but not when scrolling through
Question: If I have: class point { double x,y; } & import point; class test { public static void main(String args[]) { point[] P = new point[10]; P[0].x = 5;
Question: I noticed that there are 3 different types of connect properties for a session. What’s the difference? Answer: Every session has three different connect properties that are used at
Question: I’m writing an MDI application that has two documents. One of the documents has multiple views, which are implemented as FormViews. Several views for the same document can be
Question: I know I can’t read files from a local machine through my browser, but I can’t seem to read a file off my originating server either. There’s a way
Question: Can you help me complete the enclosed program? A “Factorial Method”must be written. /////// File: Factorial.java /////// class Factorial { /* put factorial method here */ public static void
Question: My applet draws lines. I click at the place where I want my line to start and then I click at the end of it. It draws a line
Question: How can code in one frame construct an object whose constructor is declared in another frame? For example, new parent.SomeObject(); does not seem to work. Why? Answer: Good question!