CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2000
    CA, USA

    drawLine in Graphics

    Hi all,
    I need to set the thickness of a line in Java. I am using an older
    version of JFC 1.0.3 where I dont even have Graphics2D class. I just have the
    Graphics class. The drawLine method in graphics doesn't take any thickness
    as such. Can anyone help me out?


  2. #2

    Re: drawLine in Graphics

    I'm a student taking Java Programming.
    I read in one of my Java books that a programmer used a series of g.fillOvals() to make a thick line.
    Hope that helps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)