WOW Thanks so much , i was very close.How i will become so good as you? You read many books , hours of programming or it's a secret ;))
How i will give you a thumps up for the help?
:cool:
Type: Posts; User: mariosarmy
WOW Thanks so much , i was very close.How i will become so good as you? You read many books , hours of programming or it's a secret ;))
How i will give you a thumps up for the help?
:cool:
My task is very simple.Look Equivalent Fractions.I want to do that using java language.When i drag the slider to paint rows(or columns) in the white box.
First, i am not sure if my though is correct...
I divide the size of jpanel with the slider value, so if the user selects 2(counter) then stepping=400/counter and then with a for loop i want to draw lines each time +stepping
paint component(){...
I have created a jframe, jpanel and jslider then i have add change listener on jslider so on change i save the value in variable and i have a for loop to draw n lines in jpanel.I have created a...
I have read the lessons but my problem remains can anyone help me with my code?My purpose is to divide a jpanel when i slide the slider.For example when i slide to 2 then divide the jpanel with a...
Yes that i want to do! Can you suggest me links that can help me with that?
MyDrawPanel panel;
JFrame frame;
int x = 0;
int counter = 0;
int stepping = 0;
JSlider...
I want to divide equally a jpanel by creating random sub panel with the slider value. something like this Equivalent Fractions
public class DividePanel {
JPanel PanelBoxes;
...
Can you explain me please how to do it with the right way? :)
I noticed that when i tried to resize the jframe the components appeared.
Hello,
I have a problem with slider which i want to create jlabels in a panel by sliding the slider and get the value but the jlabel doesn't show in jpanel.below is the code :
JPanel...