Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 drawing lines
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
NewbieJavaProggrammer1234




PostPosted: Mon Oct 04, 2004 10:16 pm   Post subject: drawing lines

does anyone know if it is possible to change the thickness of drawing a line?
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Mon Oct 04, 2004 10:24 pm   Post subject: (No subject)

i think you would need to state which library you're using to draw things Thinking
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Dan




PostPosted: Tue Oct 05, 2004 1:14 pm   Post subject: (No subject)

If you are using the awt ones then i blive it is.....tho it depends alot on your code, how you are doing things, what libs you are using and if u are using real java (sun java) or an evil clone (J++ or RTP).
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
Hikaru79




PostPosted: Sat Oct 16, 2004 4:05 pm   Post subject: (No subject)

Judging by your username, I'm guessing you're just taking Java in a high school environment. In which case, no it's not, because High Schools use hsa.Console which doesn't have it. You could easily write your own method though, that just draws multiple lines 1 pixel apart so that it looks like a real line. Wouldn't be hard at all.
Andy




PostPosted: Sat Oct 16, 2004 5:49 pm   Post subject: (No subject)

err wtf are u talkin about... hsa does have it and most schools dont even use hsa
Hikaru79




PostPosted: Sat Oct 16, 2004 10:57 pm   Post subject: (No subject)

HSA does have it, really? Shocked I stand corrected, in that case. I'm looking at the hsa package site (http://www.holtsoft.com/java/hsa_pkg_overview.html) and it's not listing it anywhere. Maybe I'm just not looking hard enough, the URL's there if you want to find it Smile

Sorry for the mistake, not that familiar with HSA it seems Sad

As for most schools not using HSA, it seems from a lot of the posters in other threads that a fair amount DO use it.
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: