View Single Post
  #1 (permalink)  
Old 02-03-2008, 01:40 AM
JavaInLove JavaInLove is offline
Member
 
Join Date: Feb 2008
Posts: 8
JavaInLove is on a distinguished road
Help with drawing strings!
Hello,

to be honest am quite a newbie to this forum and to java aswell despite my love with java programming. I have searched this entire part of forum and still cant find an answer to my query.

Im planning to write a program (just for fun & practice) which can draw strings. Ive looked up few sources which they tell me to use a graphics package such as awt/swing. Plus some of its classes and methods such as:
paint/paintcomponent, drawstrings etc...
But the problem is i dont know where to start?

My program must be able to draw strings effectively and hopefully can draw strings from input aswell by taking in from keyboard. To do that i will click on a button and then it draws the inputted string to program.

my mainly qs are:

how & where do i start?
should i use packages?
AWt? or SWING?
Application? or Applet???
how do i draw from input by clicking on buttons?

* - i have read over many tutorials/ notes and some websites and books + still cant help myself to solve this solution.

Many thanks
Reply With Quote
Sponsored Links