Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
21 May, 2013, 17:26:57 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1] 2   Go Down
  Print  
Author Topic: My first Java program! -  (Read 854 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
saintrunner
Custom Spriter: You ask it! I'll Make it!
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: 09 March, 2013, 02:00:40
Date Registered: 27 October, 2011, 21:52:46
Location: Right here....I think?
Posts: 1776


Topic starter
Total Post Ratings: +97

View Profile WWW
« on: 17 December, 2011, 19:40:07 »
+2

HA HA! learning Java makes me go back to when I was learning axe, and basic...I feel like a noob! Anyways, this is the very first thing I did with java...ever.....yep Smiley at least I got some of the text down!


* omnijava.bmp (1644.55 KB, 938x598 - viewed 117 times.)
Logged

My Sprites Thread   :Updated often Smiley for your viewing pleasure

GAMES:
Sorunome
Muffins
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: Today at 01:55:56
Date Registered: 26 September, 2011, 17:46:38
Location: Ponyville
Posts: 2925


Total Post Ratings: +161

View Profile WWW
« Reply #1 on: 17 December, 2011, 19:43:53 »
0

You misspelled Hello World Tongue
Well, nice, I wish I could program java......
Logged

http://z0r.de/4017
http://www.youtube.com/watch?v=BFOoazEx9lU
http://www.sorunome.de
http://reubenquest.net
+++++++[>++++++++++++<-]>.<+++[>----<-]>.---.<++++[>>++++++++<<-]>>.<++.------.++++++++++++.--------.

++++++[>++++++++++<-]>++++++++.<+++[>+++++++++++<-]>.+++++++++++++.--.<+++[>+++<-]>.<+++[>>++++++++++<<-]>>++.<<+++++++[>-------<-]>.<+++[>+++++++++++++<-]>..+++++++.<+++[>-----<-]>--.<++[>++++++<-]>++.

If OmnomIRC is screwed up, blame me Tongue

Save Derpy!(http://www.youtube.com/watch?v=cg-_HeVNYOk)
Spoiler for spoilers:


Spoiler for languages:
- TI-BASIC
 - TI-Highbrid Basic
 - Grammer
 - Axe
 - HTML
 - JavaScript
 - CSS
 - PHP
 - C++
 - lua
 - Python
 - MYSQL
 - Brainf*ck
 - English
 - German
Spoiler for internet:
/image/36691.png[/img]
Gimme internet NOW
Spoiler for me:
Spoiler for my little game:
my little game...my little game..aaaaaahhhhhh...my little game, i used to wonder how to lose the game, my little game, until you shared its losing with me. take the losing and the game, a beutiful game so losable, sharing losing is a easy sweat and losing makes it aweful neat to have my little game togeather with my very best games.
Spoiler for stuff:
Spoiler for derpy:



saintrunner
Custom Spriter: You ask it! I'll Make it!
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: 09 March, 2013, 02:00:40
Date Registered: 27 October, 2011, 21:52:46
Location: Right here....I think?
Posts: 1776


Topic starter
Total Post Ratings: +97

View Profile WWW
« Reply #2 on: 17 December, 2011, 19:45:16 »
0

lol, Omnimaga trumps world w00t and yeah that was just exercise one in a book on java I'm going through.....I figure it's time I learn a computer language
Logged

My Sprites Thread   :Updated often Smiley for your viewing pleasure

GAMES:
ben_g
LV7 Elite (Next: 700)
*******
Offline Offline

Gender: Male
Last Login: Yesterday at 21:16:47
Date Registered: 08 May, 2011, 21:03:27
Location: (ix+$43)
Posts: 646


Total Post Ratings: +74

View Profile
« Reply #3 on: 17 December, 2011, 19:52:02 »
0

The first thing you do and already with a window. Good job! I used the console in my first java programs untill I fully understood the math stuff.
Logged

Spoiler for completely unimportant stuff:
My projects
 - A base converter that also supports signed and fixed-point numbers.
 - A first person shooter with a polygon-based 3d engine.
Spoiler for latest screenshot:
- A java MORPG.
Spoiler for screenshot:
- a minecraft game in axe
Spoiler for Only open this spoiler if you want to read what's inside:
What's inside.
From when I saw this image, I never lost the game again!
Spoiler for This is [Edit:
not[/Edit] my contest entry. I hope you like it.]
Binder News
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: 13 May, 2013, 22:50:58
Date Registered: 26 October, 2010, 22:05:05
Location: In a pit on an island somewhere in the Atlantic.
Posts: 779


Total Post Ratings: +43

View Profile
« Reply #4 on: 17 December, 2011, 22:33:13 »
0

@ben_g That's the console output of the program being shown in the window of BlueJ, the IDE he's using.
@saintrunner congrats. As a first computer language, Java is pretty good. It's not too difficult, and it's C-based, so that's good. Another great computer language is Python (python.org). It is an extremely powerful interpreted language. I like it a lot. It's also the only language Julie B. (she's in band) knows, so you can ask her about it. I think there's also a section here in the forums for it.
Logged

Spoiler for userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler for Test Results:




Spyro543
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: Today at 16:15:25
Date Registered: 15 April, 2011, 01:42:09
Location: Ohio
Posts: 990


Total Post Ratings: +59

View Profile WWW
« Reply #5 on: 17 December, 2011, 23:15:32 »
0

Yes, Python is awesome. I would also suggest learning C++ (I may write a tutorial on it sometime).
Logged

saintrunner
Custom Spriter: You ask it! I'll Make it!
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: 09 March, 2013, 02:00:40
Date Registered: 27 October, 2011, 21:52:46
Location: Right here....I think?
Posts: 1776


Topic starter
Total Post Ratings: +97

View Profile WWW
« Reply #6 on: 17 December, 2011, 23:25:27 »
0

@ben_g That's the console output of the program being shown in the window of BlueJ, the IDE he's using.
@saintrunner congrats. As a first computer language, Java is pretty good. It's not too difficult, and it's C-based, so that's good. Another great computer language is Python (python.org). It is an extremely powerful interpreted language. I like it a lot. It's also the only language Julie B. (she's in band) knows, so you can ask her about it. I think there's also a section here in the forums for it.

yeah I know Julie, I had English with her last year. And I'll ask here about it Smiley thanks
Logged

My Sprites Thread   :Updated often Smiley for your viewing pleasure

GAMES:
obon7
LV2 Member (Next: 40)
**
Offline Offline

Last Login: 12 February, 2012, 07:35:15
Date Registered: 23 November, 2011, 02:22:11
Posts: 34


Total Post Ratings: 0

View Profile
« Reply #7 on: 17 December, 2011, 23:32:10 »
0

Yay finally someone else in interested is making games for the PC
« Last Edit: 17 December, 2011, 23:32:29 by obon7 » Logged

saintrunner
Custom Spriter: You ask it! I'll Make it!
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: 09 March, 2013, 02:00:40
Date Registered: 27 October, 2011, 21:52:46
Location: Right here....I think?
Posts: 1776


Topic starter
Total Post Ratings: +97

View Profile WWW
« Reply #8 on: 17 December, 2011, 23:42:32 »
0

It's actually for a friend who needs someone capable of making computer games, but i'm a long way away from any games.....I can just make it stay stuff
Logged

My Sprites Thread   :Updated often Smiley for your viewing pleasure

GAMES:
saintrunner
Custom Spriter: You ask it! I'll Make it!
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: 09 March, 2013, 02:00:40
Date Registered: 27 October, 2011, 21:52:46
Location: Right here....I think?
Posts: 1776


Topic starter
Total Post Ratings: +97

View Profile WWW
« Reply #9 on: 18 December, 2011, 23:42:29 »
0

YEAH! second Java program! too calculate the area of a circle!!


* New java area.bmp (1644.55 KB, 938x598 - viewed 84 times.)
Logged

My Sprites Thread   :Updated often Smiley for your viewing pleasure

GAMES:
Hot_Dog
If you can't find a cat, look for its tail.
Support Staff
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: 09 May, 2013, 19:22:43
Date Registered: 28 December, 2009, 18:47:54
Location: Midland, Washington
Posts: 2940


Total Post Ratings: +428

View Profile
« Reply #10 on: 19 December, 2011, 00:25:29 »
0

Awesome stuff!  I remember taking Java in High School, and our first programs were console.
Logged

There are people who can speak two languages, and they are called bilingual.  There are people who speak three languages and are therefore trilingual.  Then there are people who speak one language, and these people are called Americans.

saintrunner
Custom Spriter: You ask it! I'll Make it!
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: 09 March, 2013, 02:00:40
Date Registered: 27 October, 2011, 21:52:46
Location: Right here....I think?
Posts: 1776


Topic starter
Total Post Ratings: +97

View Profile WWW
« Reply #11 on: 19 December, 2011, 00:26:29 »
0

I'm just using bluej....I have no idea how to do it any other way yet lol...wish I did
Logged

My Sprites Thread   :Updated often Smiley for your viewing pleasure

GAMES:
hellninjas
LV7 Elite (Next: 700)
*******
Offline Offline

Gender: Male
Last Login: Yesterday at 23:07:31
Date Registered: 12 May, 2011, 02:15:30
Location: USA
Posts: 615


Total Post Ratings: +17

View Profile
« Reply #12 on: 16 January, 2012, 02:58:06 »
0

Nice |:D seems like your getting the basics down!
Good Luck Cheesy
Logged

Spoiler for Hidden:
ben_g
LV7 Elite (Next: 700)
*******
Offline Offline

Gender: Male
Last Login: Yesterday at 21:16:47
Date Registered: 08 May, 2011, 21:03:27
Location: (ix+$43)
Posts: 646


Total Post Ratings: +74

View Profile
« Reply #13 on: 17 January, 2012, 23:16:30 »
0

When you are ready to move over to applets, this is a good tutorial. It's a simple tutorial, but first you should really understand the basics.
Logged

Spoiler for completely unimportant stuff:
My projects
 - A base converter that also supports signed and fixed-point numbers.
 - A first person shooter with a polygon-based 3d engine.
Spoiler for latest screenshot:
- A java MORPG.
Spoiler for screenshot:
- a minecraft game in axe
Spoiler for Only open this spoiler if you want to read what's inside:
What's inside.
From when I saw this image, I never lost the game again!
Spoiler for This is [Edit:
not[/Edit] my contest entry. I hope you like it.]
saintrunner
Custom Spriter: You ask it! I'll Make it!
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: 09 March, 2013, 02:00:40
Date Registered: 27 October, 2011, 21:52:46
Location: Right here....I think?
Posts: 1776


Topic starter
Total Post Ratings: +97

View Profile WWW
« Reply #14 on: 17 January, 2012, 23:17:56 »
0

Thanks Smiley
Logged

My Sprites Thread   :Updated often Smiley for your viewing pleasure

GAMES:
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.204 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.