Connecting Tech Pros Worldwide Forums | Help | Site Map

Very new to Java, need help

Newbie
 
Join Date: Nov 2005
Posts: 1
#1: Nov 13 '05
Hi i just started a programing class a few weeks ago. and i need help drawing lines...I know this may seem very simple to everyone here but i am struggling. Ok I am writing a program to create a right triangle and i cant seem to draw a horizontal line..i want to draw it from the bottom of the vertical line. I am writing an applet. Please help..
KUB365's Avatar
Administrator
 
Join Date: Jul 2005
Location: Portland, OR
Posts: 966
#2: Nov 13 '05

re: Very new to Java, need help


moved your thread to programming help forum.

:-)
Newbie
 
Join Date: Jul 2006
Posts: 11
#3: Jul 8 '06

re: Very new to Java, need help


please send the code so to be checked
Newbie
 
Join Date: Jul 2006
Location: i live in delhi
Posts: 1
#4: Jul 14 '06

re: Very new to Java, need help


where's the code?
Newbie
 
Join Date: Jul 2006
Posts: 2
#5: Jul 20 '06

re: Very new to Java, need help


http://www.ibiblio.org/javafaq/javat...l#xtocid459727

I think that should help.
Newbie
 
Join Date: Aug 2006
Posts: 1
#6: Aug 6 '06

re: Very new to Java, need help


that is simple man try this hint below. it is not the code. just a hint on how to accompolish that
--->

draw a line with coordinated as follows:
10,10,10,200,
another line with coordinated:
10,200, 200,200
third line as:
10,10, 200,200
that is it


u know how to draw a line. here is a code tip just put it in your applet:

publlic void paint(Graphics objGraphics)
{
objGraphics.drawLine(10, 10, 200, 200);
objGraphics.drawLine(10, 200, 200, 200);
objGraphics.drawLine(10, 10, 10, 200);
}
Newbie
 
Join Date: Aug 2006
Location: philippines
Posts: 2
#7: Sep 1 '06

re: Very new to Java, need help


hi im maricel and i need an information about java programming. Would you help me? Thanx in advance.
Newbie
 
Join Date: Aug 2006
Location: philippines
Posts: 2
#8: Sep 1 '06

re: Very new to Java, need help


hi im very new to java programming. Would you help me to ba able to know about java. Thanx and here's my email cziarel@yahoo.com.
Newbie
 
Join Date: Sep 2006
Posts: 1
#9: Sep 2 '06

re: Very new to Java, need help


read a few books. If you don have money for them.

read the tutorials in java.sun.com.
read the documentation.
Newbie
 
Join Date: Oct 2006
Posts: 7
#10: Oct 4 '06

re: Very new to Java, need help


Java learning should be start with core java and then towards advanced java.
Java 2 Complete Reference : By Patric Nqughton and Herbert Schild, published by Tata McGraw Hill.
Lives Here
 
Join Date: Sep 2006
Posts: 12,070
#11: Oct 4 '06

re: Very new to Java, need help


Quote:

Originally Posted by sagarp86

Java learning should be start with core java and then towards advanced java.
Java 2 Complete Reference : By Patric Nqughton and Herbert Schild, published by Tata McGraw Hill.

sagarp86, You are one thread digger.
Reply