Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 21:41 Go to next message
Marco da Silva is currently offline Marco da SilvaFriend
Messages: 3
Registered: February 2013
Junior Member
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 20:56 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

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 21:34 Go to previous messageGo to next message
Marco da Silva is currently offline Marco da SilvaFriend
Messages: 3
Registered: February 2013
Junior Member
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 22:04 Go to previous messageGo to next message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
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 22:07 Go to previous message
Marco da Silva is currently offline Marco da SilvaFriend
Messages: 3
Registered: February 2013
Junior Member
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: Fri Apr 19 19:04:31 GMT 2024

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

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

Back to the top