hahaha man I am beginner in java and your words big for me. However, my code right now is working and give me what I want except the value from the combo box.
I want to ask you, what is the...
Type: Posts; User: david1
hahaha man I am beginner in java and your words big for me. However, my code right now is working and give me what I want except the value from the combo box.
I want to ask you, what is the...
thank you norm, I appreciate your help.
I chose separate actionlistener for each button.
The "Add Rectangle" button should draw a rectangle based on:
- the x, y, width and height.
- the...
I have solved the problem and another problem appeared.
How can I handle several ActionListener?
there is a several buttons and each button has an action.
thank you norm
I appreciate your cooperation.
here is the main() method
package myframemain;
public class MyFrameMain {
public static void main(String[] args) {
this is a Class.
I invoked it at the main() method. this is no problem.
I want to arrange the elements and if you see the attached screen shot, you will see:
-label "oval" is over "X" label
-I...
as you can see, the elements not arranged well.
package myframemain;
import java.awt.*;
import javax.swing.*;
public class MyFrame extends JFrame {
JLabel lblOval;
JLabel lblX;
JLabel lblY;
JLabel lblWidth;
thank you Norm,
I want to build a three sub panel inside one JPanel and the JPanel be in the north.
figure below will show you what I mean
2908
thank you again,
in the question, he asked me to create three JPanel north, centre and south.
how can I create sub panel inside the north JPanel.
how to put the element, such as JButton, on a specific position?
this exercise, one part is related to the previous one.
I have answered the first three parts, and the rest are not clear for me.
hello guys,
I hop you are all well,
I have an exercise in how to build GUI primitive, and I hop any can help with it.
You are required to build a GUI interface MyFrameMain to be able to...
Hello guys,
I hop you are all well,
guys I need help in this exercises. Could any one help me with and understand it?
Write the Java programs according to the following specifications
...