Finally someone answered pointing something, yeah i tried everything after deep search i find out it was the JTextArea class program , everytime i was drawing the rectangle in the paint function it...
Type: Posts; User: andreizeus
Finally someone answered pointing something, yeah i tried everything after deep search i find out it was the JTextArea class program , everytime i was drawing the rectangle in the paint function it...
Thankx for your help!!! You are supposed to be experts but as far as i read...better without!. Let me explain you someting, i am not a newbie on programming so i know what you need to do it ,and in...
i save it in vector in mouse up
if(bText)
{
for(int t = 0;t <vt.size();t++)
{
Rectanglet rect = (Rectanglet)vt.elementAt(t);
...
I dont know, thats the problem, what you dont understand...i save it in the vectors but when i try to display them in paint it doesnt work. they dissapear.
ok man , i will explain like i do for a kid.
I must be able to put comment box inside rectangles , rectangles created from mouse events and stored in a vector, with my own class rectangle. How can...
So in the end someone will help me or not?? I want to know if i lose my time here, because i kind of have a deadline. If not ok , i will leave.
my friends how can i split it if you need at least to know about the classes. Another try....
First i dont know where is the problem. because i dont know how to do it.
Maybe you didnt understand my...
I modified the text as i could...see up
let me explain you exactly what is working and not, i have 4 buttons , one for drawing rectangles , other for drawing lines , other for clear all the rectangles and lines and other fro drawing text...
anyway , the idea is how you can draw rectangles using mouse events with the option of putting text inside. This is the main task. i am pleased only with that if u cant read what i post.
Actually i cant different because they are all related , so if i give you the main class you will need the rest of the classes...
Hello , I am trying to solve a problem and i dont know how to do it.
I need to draw 2 kinds of rectangles one normal and lines. Rectangles should be connected with lines , you cant draw lines...