Search:

Type: Posts; User: andreizeus

Search: Search took 0.10 seconds.

  1. Replies
    21
    Views
    4,799

    Re: Drawing Rectangles and Lines

    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...
  2. Replies
    21
    Views
    4,799

    Re: Drawing Rectangles and Lines

    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...
  3. Replies
    21
    Views
    4,799

    Re: Drawing Rectangles and Lines

    i save it in vector in mouse up


    if(bText)
    {
    for(int t = 0;t <vt.size();t++)
    {
    Rectanglet rect = (Rectanglet)vt.elementAt(t);
    ...
  4. Replies
    21
    Views
    4,799

    Re: Drawing Rectangles and Lines

    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.
  5. Replies
    21
    Views
    4,799

    Re: Drawing Rectangles and Lines

    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...
  6. Replies
    21
    Views
    4,799

    Re: Drawing Rectangles and Lines

    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.
  7. Replies
    21
    Views
    4,799

    Re: Drawing Rectangles and Lines

    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...
  8. Replies
    21
    Views
    4,799

    Re: Drawing Rectangles and Lines

    I modified the text as i could...see up
  9. Replies
    21
    Views
    4,799

    Re: Drawing Rectangles and Lines

    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...
  10. Replies
    21
    Views
    4,799

    Re: Drawing Rectangles and Lines

    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.
  11. Replies
    21
    Views
    4,799

    Re: Drawing Rectangles and Lines

    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...
  12. Replies
    21
    Views
    4,799

    Drawing Rectangles and Lines

    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...
Results 1 to 12 of 12