Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Brilliant! Your site is great...and saving me hours of time at work and making my boss think I am brilliant too! I also picked up on a thread that will potentially save us a lot of money in the future..."

Geography

Where in the world do Tek-Tips members come from?
Gaffi84 (Programmer)
12 Jan 10 16:07
Hello,

This is my first perusal of this group, and I am very interested! However, I'm disappointed at the lack of activity (moreso because of the amount of interesting threads closed due to age that I cannot post to). But that's for another post...

I am a tester as a profession (working my way up, hopefully) and program as my almost one-and-only hobby. I'm currently working on something simple and basic in Java, and the coding is going very well, but I have no clue when it comes to graphics. Currently, I have 'graphical' map created by using a crude grid of JTextFields.

So here, I get to my question(s): Are there any out there with a decent-enough-to-teach-me understanding of Java graphics? I've looked at tutorials online here and there, including Sun's generally very helpful documentation, but I just get lost. I am self-taught in 90% of my programming experience, using forums like this one to help develop that knowledge (along with trial and error).

Since I've had no luck thus far despite my general success with the language, I feel like just a little push in the right direction would be all I need to break through into the realm of true graphics in Java. Where do I start? I have trouble even drawing a circle or a line and really have no clue when (or even if) I should override paint() or not!

If anyone can give me some of the most basic pointers on either creating the graphics right in Java, or loading up externally created images, I'd really appreciate it.

Once I can figure out how to get things on the screen, then I'll try and figure out how to make them move/change/etc. winky smile

Thanks in advance!
Gaffi84 (Programmer)
12 Jan 10 16:11
Sorry for spamming my own thread...

I know this really is a specific Java question, and not so much related to games, but I wanted to open it to this forum for the hopefully future progress the game itself takes.

Also, as someone in another thread pointed out, this is a site used much by professionals (I use it as such), and I felt this forum was a better place for a non-specific, non-business, etc. post.

Cheers!
vb5prgrmr (Programmer)
12 Jan 10 21:43
Well, while I cannot give you much in the way of Java or J++ (Sun versus MS), I can say the right keywords with your friends (yahoo, google, ask, answers, bing) will get you better results and when you get those good results, save them!

Like this one...

http://search.yahoo.com/search?fr=yfp-t-701-s&toggle=1&cop=mss&ei=UTF8&rd=r2&p=sun%20java%20graphics%20tutorial



Good Luck

 
Opieo (Programmer)
13 Jan 10 9:28
Here is a funny way of searching for people.
It kind of mocks them at the same time though.
http://lmgtfy.com/
You do a search, then it gives you a link to copy, and when they click on it, it acts like it is performing the action of searching.

~
"Your request is not unlike your lower intestine: stinky, and loaded with danger." — Ace Ventura.
 

Gaffi84 (Programmer)
13 Jan 10 10:52
Ok, so let me try to explain again (hopefully better) my problem...

I have performed many a search on the intarweb looking for resources. All my Java knowledge is self-taught using such methods. The problem is that of all the graphics tutorials and code examples, etc. I have not been able to fully grasp the concept. I can program lots of things, including a basic GUI with forms and buttons, but nothing flashy.

I've even followed simple 'how to make a circle'-type tutorials that I may or may not get completely, but when I try to adapt to something I really want to do with it, I come up with nothing.

I know how to search (see thread181-1586015: MS Access Error - Can't run any wizards/modules as proof). I was looking for someone who can give me an apparently needed super-baby-steps way of learning this.

Thanks.
jkl0 (TechnicalUser)
13 Jan 10 14:25
You might try the Javascript forum.

http://www.tek-tips.com/threadminder.cfm?pid=216

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close