Skip to main content



      Home
Home » Newcomers » Newcomers » How to create a project using drawline method?
How to create a project using drawline method? [message #1014942] Tue, 26 February 2013 16:41 Go to next message
Eclipse UserFriend
Hi guys,

How to use the drawline method?

I need build the project with the squared geometric figure, doing the figure rotate in circle, but I can not build the project.

Please help me
Re: How to create a project using drawline method? [message #1015239 is a reply to message #1014942] Wed, 27 February 2013 15:56 Go to previous messageGo to next message
Eclipse UserFriend
On 2/27/2013 12:24 PM, Marco da Silva wrote:
> Hi guys,
>
> How to use the drawline method?
>
> I need build the project with the squared geometric figure, doing the
> figure rotate in circle, but I can not build the project.
>
> Please help me

Here's the best help I can give based on what you've asked. I'm sincere
and really am offering it in the best spirit of helpfulness.

http://www.catb.org/esr/faqs/smart-questions.html#intro
Re: How to create a project using drawline method? [message #1015248 is a reply to message #1015239] Wed, 27 February 2013 16:34 Go to previous messageGo to next message
Eclipse UserFriend
sorry
I not being clear in my question.

This question is an exercise of the University, I am starting learning java, I need to use something in the syntax.

g.setColor(Color.black);
g.drawLine(x, y, x, y + tam);
g.drawLine(x, y + tam, x + tam, y + tam);
g.drawLine(x + tam, y + tam, x + tam, y);
g.drawLine(x + tam, y, x, y);
dormir(30);
g.setColor(Color.white);
g.drawLine(x, y, x, y + tam);
g.drawLine(x, y + tam, x + tam, y + tam);
g.drawLine(x + tam, y + tam, x + tam, y);
g.drawLine(x + tam, y, x, y);

More I need to draw the square with red and black stripes, most can not.

Re: How to create a project using drawline method? [message #1015255 is a reply to message #1015248] Wed, 27 February 2013 17:04 Go to previous messageGo to next message
Eclipse UserFriend
The Eclipse forums aren't intended for general Java programming questions. They are questions specific to using the Eclipse tools. If you are taking a class, you should ask the instructor or your classes teaching assistant for help.
Re: How to create a project using drawline method? [message #1015256 is a reply to message #1015255] Wed, 27 February 2013 17:07 Go to previous message
Eclipse UserFriend
Ok,
Thanks and excuse-me.

Previous Topic:Eclipse + XML
Next Topic:Which Java Card Dev toolkit for Eclipse juno 4.2?
Goto Forum:
  


Current Time: Wed Jul 16 11:30:23 EDT 2025

Powered by FUDForum. Page generated in 0.15667 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top