This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Steps to my program. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Steps to my program." Watch "Steps to my program." New topic

Steps to my program.

Daniel Brient Smith

Joined: Jun 29, 2011
Posts: 1

Hello all! I am bran new to this place, and nearly bran new to Java. It is been less than a week since I started programming in it. I started programming in it because I ran into a predicament.

I am an avid Minecraft user, and I saw the potential there was in the redstone in the game. If you don't know the game, people were creating logic gates found in eletronics to make basic computers. This intreged me. I wanted to replicate this, but the program is that I do not have the funds to go out and buy all the real world parts. So I thought, why not make a program to do it for me? Why not replicate minecraft except better, with more control and more functions to replicate real world? So I set off to do so. The only problem is that I am only comfortable programming in Php and in Ti Basic. I do not know anything on Java or things of the like. I have done a lot of programming, just none of it is in a graphical programming language. Most of it was in Php, which I used on a website primary to process form submissions on a website. So I need some help. The only gui programming I have done is with a game I made for my calculator.

I have done some in Java, small steps to making the whole. I understand how to compile it and all that. I displayed an image. But I think I am going about this in the wrong way because simply it is really really slow going. When I would work in Php, I would run into my hickups but never would I have to stop entirely because I just have no idea what to do next. It seemed that what ever I did, it would not work. When I looked at examples from other's, I saw how it worked, I tried to alter it, and it would break. I just wasn't working. To solve this issue, I came here.

The first thing I want to do is create a basic program that will place an image on the coordinate I input into it. Any idea where I can start? Any idea on how I can do this? Got any advice for how I can do this? Any advice on how to approach this language?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074

Welcome to the Ranch.

Oracle has a very good set of tutorials about many different subjects with regard to programming in Java. One of them is about the 2D graphics API that Java offers; but if you're brand new, it's probably better to start with the more basic tutorials. Also see our Java Beginners FAQ.

And ofcourse, if you have questions, you can ask them on the forums here.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
It is sorta covered in the JavaRanch Style Guide.
subject: Steps to my program.
Similar Threads
About Zsolt Bertalan alias Herrbert
Groovy + JSF versus Ruby on Rails versus PHP
Want to use OOP on my website
Needing Advice