I am doing an assignment which it consists of an Applet, where the user has to insert several values and the program has to draw a quadratic graph.
In my applet I want to display the graph in the border layout center and one control panel to the east side and another control panel to the south side.
For now both the control panels are the same, until I manage to make my applet display them I am not willing to waste time...
User Profile
Collapse
Profile Sidebar
Collapse
Matthewborg
Last Activity: Jul 24 '12, 10:41 PM
Joined: Jun 16 '12
Location: Malta
-
Problem displaying JPanel in JApplet
-
Matthewborg started a topic I have a JApplet which has to display 3 Components. (2 JPanels and 1 Paint Method)in JavaI have a JApplet which has to display 3 Components. (2 JPanels and 1 Paint Method)
I have an assignment in which I have to allow a user to plot a graph using a quadratic equation.
I managed to draw the skeleton of the graph, and now I am trying to display the "control panel" for the user to input the values.
I have 4 files:
graph.java
panel.java
panelB.java
panelC.java
My problem is when I run the code it is displaying only the panel.java even in...
No activity results to display
Show More