Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (844)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Newbie & Debugging Questions / Re: Using FileDialogs on: 2004-02-23 03:55:22
So what do i do then? Im still new to java to do some of the stuff. Does anyone know how you do it in windows?
2  Game Development / Newbie & Debugging Questions / Using FileDialogs on: 2004-02-22 01:47:46
Hello, I am using the FileDialog to open a file, heres my code:

        FileDialog fileDialog = new FileDialog(this, "Save As...", FileDialog.SAVE);
        if (fileDialog.getFile() == null)
        mFileName = fileDialog.getDirectory() + File.separator + fileDialog.getFile();

This is in my "SaveAs" Function. Dont worry about the Save Function. What I'm trying to do is set the file filter to 'nek' but I have no idea how to do this. When the file dialog appears you can save it as Anyfile, and i prefer it to be the type i want.

Any thoughts?
3  Java Game APIs & Engines / Java 2D / colour coding text with JTextArea on: 2004-02-20 23:25:42
Hello, im working on an IDE here and I'm trying to get the coloured text you see with alot of IDEs (NetBeans/Eclipse/VStudio). I was wondering if anyone knew how to do this because I'm kinda stumped.   :-/

I thought maybe you could use the Graphics to draw everything like text, to colour and bold the font or whatever. But this way seemed impractical. Anyone have any ideas that would help?

Thanks in advance  Wink
4  Discussions / General Discussions / Re: Java vs C++ on: 2003-08-14 06:35:04
I'm quite sure that java interprets it then it compiles it...

It's true that the risk of memory leaks in C/C++ is greater than Javas because you have do allocate the memory and deallocate it, but it really depends on the programmers skill. He/She can deallocate the memory as soon as it is not needed, making the memory have more room to do stuff while java does not, not as soon as you might want it to be. Making C/C++ have more efficient memory handling. But as I said earlier, it really depends on the programmer.

But reading all of this, I am half-convinced that it is better to learn Java. Maybe I'll stay with java, Ill just make a game and see if i like it, otherwise ill go back trying to learn the complexities of C++.
5  Discussions / General Discussions / Re: Java vs C++ on: 2003-07-28 21:57:17
Most of the larger scale java programs seem alittle slower than C++. Like NetBeans and Alien Flux (But that game rocks!). And as for the clever Algorithms wouldnt it be the same speed increase if used for c++? So is making an interpreter in Java that makes games suitable? Or is using c++ better?
6  Discussions / General Discussions / Re: Java vs C++ on: 2003-07-28 11:29:08
What I mean as commercial games is like Starcraft, Counter Strike, and StarTrek Elite force. The games that you can find in your local gaming store.  Tongue

So it may be better for me to stay with java then, for now anyway.

P.S. whats OO? and whats JavaDoc? (Pardon my n00bness  Tongue )
7  Discussions / General Discussions / Re: Java vs C++ on: 2003-07-28 11:03:01
My goal is to make a programming language  that makes games easily. Like Game Maker, 3D Game Studio, Dark Basic, and Blitz Basic 3D. Would Java be the 'appropriate' language to use?
8  Discussions / General Discussions / Re: Java vs C++ on: 2003-07-28 09:40:24
so what do you think i should do then? Forget about java and learn C++?  Sad
9  Discussions / General Discussions / Java vs C++ on: 2003-07-28 07:12:37
I've just been trying to learn to do C++ Win32 programming using Visual C++, and I've given up on it because it was co complicated. I read somewhere that learning java beforehand makes learning C++ easier. I've looked at the java language and its way easier than Win32 C++ (in my opinion). So I was hoping for my Java skills to be a full path not just a step towards Win32 C++. But there's a problem. I've read in an article that Java is about 20 to 50 times slower than C++. But it also said it keeps getting upgraded to make it faster. Another thing that is bothering me in java is the buttons but im quite sure that you can change them.  Another thing is that I've never heard of a commercial game that is made from java. So can someone tell me more good points about java and the commercial games that were made by it?
Pages: [1]
EgonOlsen (76 views)
2018-06-10 19:43:48

EgonOlsen (56 views)
2018-06-10 19:43:44

EgonOlsen (76 views)
2018-06-10 19:43:20

DesertCoockie (258 views)
2018-05-13 18:23:11

nelsongames (156 views)
2018-04-24 18:15:36

nelsongames (155 views)
2018-04-24 18:14:32

ivj94 (896 views)
2018-03-24 14:47:39

ivj94 (160 views)
2018-03-24 14:46:31

ivj94 (809 views)
2018-03-24 14:43:53

Solater (173 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!