Animation

174 byte By IIIIIIlla at 2007-9-28 14:28:14
is there a Java equivalent to the Frame Animation of MFC in C++? or do i have to find some way to carefully trim down the background of my images so they dont show up?

i was make game on JEME and that run on Emulate of Nokia T720

255 byte By bacsumua at 2007-9-28 14:29:40
i was make game on JEME and that run on Emulate of Nokia T720but this game is put on T720 Phon then that is not install i'm walking on JBuilder8 with JBuilder Middlet why look up this problem?is there is anyone hlep me?

Please Help Me Figure out this Algorithm

1724 byte By ptm2abera at 2007-9-28 14:30:02
please could somebody help me put this code into an algorithm. plus could you tell me what 'Hashtable' does and how it work. thanks private class AplhabetShift{//define the alphabetchar[] alphabet = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H','I','J', 'K', 'L', 'M', ...

Problem with collidesWith(Image..) in MIDP 2.0 !!!

522 byte By szymic1a at 2007-9-28 14:30:12
I write the games under MIDP 2.0, and I found following problem.I would like to use Image as a background , additionally I would liketo use Sprite and built in MIDP2.0 Sprite-Image collision detection.But I could not find how to load Image as a Layer. Or maybe I shouldload the Image in other ...

TuxOnTheRun Source... interested?

414 byte By lstdmca at 2007-9-28 14:31:09
Hi!I'm currently considering to releasing the source to my java games ( http://www.steinke.net/ )... at least Tux got some nice mentionings on several sites, already.I'm not sure if there's still interest in 1.1 games, so I thought I'd ask first. If there's no interest, there's no need to ...

GetColorAt(x,y)

89 byte By Aikmana at 2007-9-28 14:31:54
Can i some how find out which color a Pixel at (X,y) has? (in a Graphics instance)

Shuffle characters in String

260 byte By david.larsson@logiq.sea at 2007-9-28 14:32:56
Can anyone please help me with an algorithm which takes a String and prints out all combinations of the characters in the String.Ex:I want all combinations of "abc".abcbacbcacbacabacb//David

A GUI for my game.

933 byte By JavaChipa at 2007-9-28 14:33:14
I have written three different Java games. Each small but fun to play. Each game is in a seperate file and is displayed in a seperate Java Applet. What I would like to do now is to be able to move all three games into a Java Desktop application. Ideally what would be nice is to have a Tab ...

Threads with many to one calls

1112 byte By cnz13a at 2007-9-28 14:35:29
Hi all,I'm designing an application in which I need to:1)query a database to get a list of orders, 2)create the documents and 3)print the documents.... and these repeat continuously. 2) and 3) have been developed. Now, the way I thought to model this is through a Controller class which should ...

Multiplayer problems

931 byte By Ishaibina at 2007-9-28 14:35:41
Hi!Im trying to create an applet multiplayer game .The server side is built like this : GameManager thread is being connected by 10 players and sends the information about each player to each other -multiplayer effect. Server application - when recieves a messeg creates a new GameManager.My ...

Networking problems

275 byte By IIIIIIlla at 2007-9-28 14:36:35
I have created a server that is supposed to listen for the connection of two clients. i also have a client that is supposed to connect to the server, unfortunately the server isn't accepting my client's connection, and throws an IOException... why is this happening?

<b> Animation, or the lack there of </b>

213 byte By IIIIIIlla at 2007-9-28 14:37:25
So, in working on this game of mine, ive come across the problem of animation in which i need to draw my figures onto a transparent background or something similar... what are some good programs to do this?

Convex Hull Algorithm

236 byte By HashamSyeda at 2007-9-28 14:38:06
I need someone to help me out with making ConvexHull Algorithm and coding it in java. I am using 1.3.1. So far i researched, convex hull was implemented with Triangles and Vertex, can anyone explain the use of these?Hasham

Accessing methods not possible because of bad design

2220 byte By Onyaa at 2007-9-28 14:38:26
From within my BlueCleverColor run method I want to call the upDate() method of the different class ColorPanel. I can't make the upDate method static because "setBackground()" is not a static method.I find that when I encounter a situation where I want to use the method of another class and I ...

Custom game events

620 byte By GemmaPa at 2007-9-28 14:39:54
I am trying to develop a RPG. I was wondering if the interactions between game objects e.g. a player and a switch could be handled in the same way as lower level events are usually handled (e.g. button presses)is it possible that I can create game events and listeners for them.example: player ...

Is there a better way to solve this problem?

979 byte By Seiyoa at 2007-9-28 14:42:19
Hi, I have been solving a problem to find a Eularian tour in a given graph. I have solved this by creating a method that generates circuits until there are no "unvisited edges". Each circuit is represented by an ArrayList of the Nodes' labels. All these circuits are stored in a LinkedList. For ...

How to let others run my game off of a CD-ROM

515 byte By JavaChipa at 2007-9-28 14:43:18
I have a Java game that I wrote. I want to be able for people to run it off of a CD Rom. Is there a way to do this? I know if it was a C or C++ application you might be able to just have people double click on the exe file.Also, should the Java Virtual engine be included on the CD? Think of a ...

Java Exception Handling

864 byte By NovakAa at 2007-9-28 14:43:24
Hello everyone,I'm searching for a design pattern / framework to manage exception handling. I'm currently working on a distributed document management system for PC / AS/400, which consists of Commandline clients, a Socket Server and a windows NT daemon in java, which accepts network requests ...

Drawing an ER Diagram using Java

691 byte By elliottjaa at 2007-9-28 14:46:45
Hi,I expect you get this a lot but I'd be really greatful for some pointers towards my final year project.I'm creating a Java application that will draw an ER Diagram when pointed at a database.I've got the code sorted to query the database and sort out the entities and relationships but the ...

Objects over the network

88 byte By IIIIIIlla at 2007-9-28 14:50:25
is it possible to read in an object from a reader.println(Object x); type method?

static method

318 byte By happy_wta at 2007-9-28 14:51:19
Hi,all:I notice that many methods of "String" class is non-static,which means each String object has such all methods copies when created.If an application uses many String objects,this design pattern of "String" class will consume much memory.Is this pattern good or bad?Thank ...

Java Game Server

244 byte By dlwaslera at 2007-9-28 14:52:20
Hi All:I new to developing java games, and I have a few questions.Is there a Application server for Java games were one-to-many users can the play game?Next, is there a java gaming api?Thank YouDLWasler

Buffering non-rectangular area

527 byte By smithsa at 2007-9-28 14:53:28
I have a back-buffer that I am using to buffer a particular piece of my frame, and when I copy it back I get undesirable results since the object I am copying is round but the copy region is rectangular. I am basically trying to overlay a character rendered into the buffer on top of a static ...

Consolidating "Dirty Rectangles."

889 byte By smithsa at 2007-9-28 14:56:54
I have a renderer which takes images from several different layers and copies them to a back buffer for rendering. Each layer when it is drawn upon keeps a list of dirty rectangles which must be refreshed at composite time.All works well, except that I have many duplicate and overlapping ...

AI and Java

140 byte By dlwaslera at 2007-9-28 14:57:30
Hi:I want to add AI to my Java game! Can someone point me to doc, data, API on how one might do this or learn about it.

Joy Stick and Java

121 byte By dlwaslera at 2007-9-28 14:57:31
Hi:I need some help, is their a Java API that support using a Joy Stick, with fire control.Thank You

MVC Question

246 byte By ddcavelea at 2007-9-28 14:58:07
For a class project I have to make a game. In the game the player's lifepoints get updated at the end of the game. It takes the lifepoints at the start of the level + x. Should I put this function in the model (Hero) or in the controller?

UML and Service Locators

872 byte By coolpfeifa at 2007-9-28 14:58:44
I was wondering how much detail you should include when using...Servlet Controller to and EJB Controller to specific EJBs. You would probably want to use a Service Locator, but diagramming dependencies between the servlet controller to the ejb requires three dependencies with a service locator ...

Component Diagrams & Protocols

196 byte By coolpfeifa at 2007-9-28 14:59:27
Would if be appropriate to display a specific protocol on a component diagram? For example, HTTPS or IIOP between two J2EE Components (JSP and Servlet or JSP/EJB)? Thanks,Mark

Would you help me?

319 byte By happy_wta at 2007-9-28 14:59:31
Hi,all:I notice that many methods of "String" class is non-static,which means each String object has such all methods copies when created.If an application uses many String objects,this design pattern of "String" class will consume much memory.Is this pattern good or bad?Thank you!Benjamin ...

Math problem!

462 byte By Aikwomana at 2007-9-28 15:00:19
I want to calculate the distance of a PongBall to a PongPad using Pythagoras. (a*a) + (b*b) = (c*c) and so on, and then make that ball bounce off the pad and ONLY the pad.which is not the best idea in a pong game because you can get some side effects like the ball will bounce even though it ...

Optimising minesweeper method

2243 byte By GemmaPa at 2007-9-28 15:00:41
i have been trying to make a minesweeper applet to put on my website.but when it comes to "rolling back" the squares when the user clicks on a square that has no surrounding mines the applet is really slow. I know this probably isn't the best way to code it because I've seen other minesweeper ...

OpenGL4Java-Look up

218 byte By JReda at 2007-9-28 15:00:47
Hi!How can i look up and down?glu.gluLookAt(.,.,., y--,.,.,.,.,.);So my answer is, have i only to decrease the y variable at the "view point" to look down? If not, how can i do? Thanky you!

Making Game Graphics

237 byte By javatypoa at 2007-9-28 15:01:07
I am wondering if there are any good sites that have like databases of graphics that are free?Kinda like javaboutique.com except for graphics. I am looking for space ship graphics for a game im making.Thanks..

Gamming Application Server

224 byte By dlwaslera at 2007-9-28 15:01:43
Hi All:I ask this question before.Are there currently gamming application servers on the market.Can Tomcat, JBoss, WebLogic or WebSphere applications server be used.Thank YouDlwasler

extending stuff

82 byte By IIIIIIlla at 2007-9-28 15:02:40
so how do you extend JFrame and Thread in the same class? is this possible?

3D engine and development tool

765 byte By markkca at 2007-9-28 15:03:37
Hello,I'm new to this forum.I have been making a very simple maze game on my own, in 3D. I made a first set of simple "engine" to draw 3D walls; enter few grids of information and draws a scene in 3D. But it is a grid-based; side walls, ground, ceiling and walls ahead. Each movements are like ...

Help on 2D Matrix?

3376 byte By owsa at 2007-9-28 15:04:12
Hi i have a linear equation problem as follow:2X(b) + X(c)= 7 - eqn12X(a) + 4X(b) + 4X(c) = 22 - eqn2 3X(a) + X(b)= 5 - eqn31) use eqn1 to solve for X(a),so change order of eqn:3X(a) + X(b) = 5 - eqn12X(a) + 4X(b)+ 4X(c) = 22 - eqn2 2X(b)+ X(c) = 7 - eqn32)divide eqn1 by 3: 3X(a)/3 + X(b)/3 = ...

genralization or composition

241 byte By zbadra at 2007-9-28 15:04:53
hi,i have a class which have to perfom somes processes on a set of object.i want to know if it's better to extend HashSet (by exple) or to use it in my classe as a private attribute.thanx in advance. badr.

Looking for freelance J2ME developers

480 byte By CyberTroldena at 2007-9-28 15:07:11
Our company, Euro Telekom Denmark, is looking for freelance geme developers for the J2ME environment. We are looking for developers who can rewrite and adapt existing Java games for the J2ME platform and various wireless handsets.If your are interested then please reply to this thread and state ...

Game in Java Applet--System resources/RAM

348 byte By JavaChipa at 2007-9-28 15:08:29
I am writing a Java GAME. It uses quite a bit of graphics, including several buffered images. Is there anything I should be awrned about if I am using lots of graphics with buffered images? I need to find out now, before it is too late.If there is a forseable problem, how do I deal with ...

PNG, JPG and GIF file formats.

350 byte By JavaChipa at 2007-9-28 15:08:34
I am writing a game and I intend to use PNG graphic files. I heard once upon a time that PNG had an advantage over GIF files. The difference had to do with the alpha channel. Can anyone tell me what the advantage might be, since I can not remember?Also, GIFF files use the lzw compression. Is ...

Research into extream programming, need your thoughts

806 byte By MmartinHa at 2007-9-28 15:08:51
Research into xp, Your ThoughtsI am a student researching into Extream programing. i am to create a development tool that will help people co-ordinate their xp projects. therfore i need help from the people who use XP or have chosen against using it. What i need to know is if there are any ...

Research into extream programming, need your thoughts

712 byte By MmartinHa at 2007-9-28 15:08:54
Research into xp, Your ThoughtsI am a student researching into Extream programing. i am to create a development tool that will help people co-ordinate their xp projects. therfore i need help from the people who use XP or have chosen against using it. What i need to know is if there are any ...

best practice OOP - good design

2433 byte By gmunteanua at 2007-9-28 15:10:30
I started to write a chat application [server + client]and I wanted to optimise it [good OOP + reuse of classes,objects].So, I have a class that handles the interface, a class that handles the socket [reading, writing], a class that handles the events, etc...As Iwanted to write it the best way ...

New Timer algorithm

2457 byte By jbanesa at 2007-9-28 15:10:32
Since the beginning of time, people have been trying to come up with a timer in pure Java. The problem has been that System.currentTimeMillis() is not accurate across systems. On Windows 2000 for example, it's 10 ms. Of course, 10ms is still enough to time up to 100 frames per second. The ...

EJB framework

94 byte By lang_kkla at 2007-9-28 15:11:02
Hello,everybody!I am looking for ejb frameworks,can anyone introduce some to me?

Java Fighter

642 byte By IIIIIIlla at 2007-9-28 15:11:07
Im trying to write a fighting game for java, and i need a way to select the fighter of your choice, so i created a class called SelectCharacter which i want to have open a JFrame with radio buttons on it, one for each fighter. i want each client (this game is networked by the way) to select ...

convertion problem

561 byte By bierlitrinkaa at 2007-9-28 15:11:14
Hi!I have to convert data in a Vector to a new format. The Vector represents a tree structure.Format of the source vector. { id, level, caption }The id is unique.sample data:1 1 xx2 2 xx3 2 xx4 3 xx5 4 xx6 2 xx7 1 xxthe new format should be {id, id_of_mother_node, caption}sample data1 -12 1 xx3 ...

socket problem

260 byte By Ishaibina at 2007-9-28 15:11:36
my applet doesnt manage to create an in=new ObjectInputStream(new BufferedInputStream(socket.getInputStream()));so does the server , even though they are connected through the socket.what can it be ?can it be an jdk problem ?