Inner class in UML

107 byte By ramu_1976 at 2007-9-27 22:00:47
hi,How to represent inner class in UML.Thanks in advanceBest RegardsRamu

Alpha blending...

483 byte By Hephos at 2007-9-27 22:02:43
Well im using full screen exlusive mode and active rendering, with page flipping and buffer strategy.Now... on top of the actual game, i want to draw a "console" thing.I want this to use alpha blending... so the background behind the console is shaded (but still visible).Now how do i procceed ...

Mp3 as music?

182 byte By Hephos at 2007-9-27 22:04:34
Anyone used mp3's for the music of their games?And if so, could someone guide me to someplace where there is infoon how to use mp3s or give some hints please :)

2 1/2 D

527 byte By Virum at 2007-9-27 22:06:25
I am making a game that requires 2 1/2D images, namely, 2D images that look 3D but aren't. Look at Age of Kings artwork, you'll see what I mean.Anyway, how should I make this kind of art? I was going to draw it out, but I am not sure that is the best idea, it is hard to make it look correct, ...

Java game server design

208 byte By nqthanh at 2007-9-27 22:11:48
Hi,I am new to Java game programming. Could anyone tell me or let me know some tutorial about multi-player java game design, especially game server design.Thanks in advancenqthanh

want an idea about focus management

689 byte By iruvuri at 2007-9-27 22:12:50
hello ,iam working on project where i have subsytem called focus management , which has to control focus on the screen . we dont use awt or swing for the focus management . this focus is maintaining the focus on the screen and also need to maintain the details of the components where the focus ...

need help with buttons

607 byte By Flawe at 2007-9-27 22:15:37
stupid question maybe but i'm a beginner, and hey..there are no stupid questions, right? well, i may prove that wrong...anyway...I can't relocate a button, or any other component for that matter. When I try to make a simple applet with just one button showing, then it works perfect...but when ...

beginning with game programming question

673 byte By Flawe at 2007-9-27 22:15:41
I'm just wondering...I've just began with game programming and I can't understand one thing: when you paint all the graphics...how can you program in code what to show? It may sound a bit wierd but maybe I asked it wrong. I mean, imagine a big roleplaying game, with a pretty big world...how ...

Any engines?

255 byte By uj at 2007-9-27 22:20:49
Does anyone know what graphic engines are used in games? Are they somehow available or are they company secrets. I write 3D applications using Java 3D (not games but anyway). I sometimes suspect I would be better off using some game engine instead.

Abstract classes

130 byte By catalin76 at 2007-9-27 22:21:22
Hi to alll.Can any of you to tell me some url for abstract classes code sample and tutorial?ThanksCata

Software reuse with Java design patterns

114 byte By ViAGRA at 2007-9-27 22:22:22
Anyone have any suggestions on how software can be reused with Java design patterns? Any concrete examples?

Can a .GIF be a shape other than a rectangle.

575 byte By sgriffin44 at 2007-9-27 22:23:39
My knowledge of GIF's is limited and from what I have read it sounds like the background of a GIF image can only be transparent to one color. I have a background image that fill the screen with many colors in it. Now say I want to have another GIF image in the shape of a sphere move across ...

jsp and up/uml

423 byte By techsavvy at 2007-9-27 22:26:06
Hi, I am a great enthusiast of object oriented concepts and Java. Currently I want to do a "Web search Engine" using JSP, Java and MySQL on Linux Platform. Can anybody refer me examples and resources of OOAD/unified process, implemented in web scenarios.Looking forward for your valuable ...

2D space shooter with pallax scrolling

558 byte By rossdof at 2007-9-27 22:26:56
Hi all I've been working on a 2D shooter with lots of sprites. I use realJ and based it around alien landing from the Black art of java, initially i only used awt libaries but have updated it with JApplet and Jpanel. I have a loading progress screen that now dosen't display with the 1.4 ...

2D space shooter with parralax scrolling

563 byte By rossdof at 2007-9-27 22:26:59
Hi all I've been working on a 2D shooter with lots of sprites. I use realJ and based it around alien landing from the Black art of java, initially i only used awt libaries but have updated it with JApplet and Jpanel. I have a loading progress screen that now dosen't display with the 1.4 ...

loading a jpeg into a BufferedImage?

58 byte By smremde at 2007-9-27 22:27:13
is it possible to load a jpeg into a BufferedImage?

n-permutation

404 byte By sabinap at 2007-9-27 22:27:47
Hi, how can I get the n-permutation of a given array of numbers? By n-permutation I mean e.g. for an array like 1|2|3|4 there are the 3-permutations 1|2, 1|3, 1|4, 2|3 and so on. I tried to find a method, but I was not successful. Now I would like to write it on my own, but I have no idea about ...

How to integrate Rational Rose with JBuilder?

95 byte By liu8421 at 2007-9-27 22:28:19
Now, I use Rational Rose 2002.But I can't integrate it with JBuilder7.0.Help me!

some questions about Collections

187 byte By valjok at 2007-9-27 22:31:02
getItem(index or name): when to throw an exception when to return null?getIndex(Item): when to return -1 when exception?Is it better to have two versions of a method?

return: void vs this

707 byte By valjok at 2007-9-27 22:31:13
Hello, it very often when I have to write code like this:class Any { void build(param);} a.build(i); process(a); a.build(i2); process(a)Is the following programming style better?class Any { Any build(param) { ...; return this; }}... process(a.build(i)); ...

Jibber Java

9 byte By Ranter at 2007-9-27 22:31:42
Hi

Handling large playing areas

1634 byte By johnsenford at 2007-9-27 22:31:59
Summary-We have a playing area, or 'board', effectively consisting of a matrix of squares.The board is potentially very large. (100 x 100 grid, perhaps more?!)What possible approaches/architectures would be suitable for handling such a potentially large playing area where by each square can ...

I feel like giving to the group today.

176 byte By zparticle at 2007-9-27 22:33:40
http://www.scottshaver2000.com/ImageFunctions.javathis class has some usefull methods, particularlly related to handling pixel perfect collision detection. Enjoy.

Pixel-accurate collision detection with Shapes

1140 byte By Frumple at 2007-9-27 22:36:32
Hi, I'm still creating my 2D tank battle game, and I have finally come to the point where I need to deal with collisions between the tanks. The tank is simply a sprite with an rectangular shape that moves forward and backward and rotates left and right. I already have wall sprites that are ...

2D games technique

252 byte By hksdu2k at 2007-9-27 22:36:33
Hi people,I would like to know how to move the camera along the map while it's a 2D map, e.g. like StarCraft and Age of King. Am I moving the center of the screen to the map coordinate that my mouse pointed?Many thanks,Andy

What is a reasonable prise for an animation applet?

1428 byte By eeyvind at 2007-9-27 22:38:02
A company wants to buy some of my applets to include them intheir screensavers, but I don't know what a reasonable prise is. Has anyone been in a similar situation and in that case couldyou suggest a reasonable prise? I don't need any opinions about the applets, I just need to know what a ...

BufferedImage Double Buffering?

2330 byte By OlliPekka at 2007-9-27 22:38:40
I have succesfully made the buffered image, but I still get horrible flicking in my game. I also think I'm having a memory leakage, because I haven't properly done this. Everything looks basically like in any examples, but how wrong it is. Flickering is awful.this is how I set up the ...

difference between CRC and HashCode

418 byte By codymanix at 2007-9-27 22:41:56
i was wondering wheather there is a difference between a crc value and a HashCode. the definition of both seems the same."if 2 objects are equal the hashcode/must be equal, if the objects differ the crc/hashcode *should* be different to improve performance."i have another question: how can i ...

JVM problem with Win XP

469 byte By microtiger33 at 2007-9-27 22:42:00
I just downloaded the latest JVM 1.4.1_01 and installed in Win XP Prof.When I tried to open the Java Web Start, or tried to surf some web sites using Netscape 7.0, it gave me the Javaw.exe - Entry Point Not Found message: "The procedure entrypoint_JVM_SupportsCX8@0 could not be located in the ...

Getting Started

1019 byte By madtown54 at 2007-9-27 22:42:21
I am new to Java Game Development, and I need some help with a game that I am currently in the process of creating. The game will be fullscreen, it will consist of a board that will be divided into many hexagonal cells. Each cell will contain a terrain texture (water, moutains, desert, etc), ...

Getting pixel colour

481 byte By TimRyanNZ at 2007-9-27 22:42:57
Hi I'm using BufferStrategy on a fullscreen window and I would like to get the colour of a pixel I have already transferred into the BufferStrategy buffer before I do a show.Does anyone know how I do this please? I guess I need to use getRGB, but I'm not sure on what object?I have the ...

Game Utility Development

1319 byte By scottMathis at 2007-9-27 22:43:16
Ok, I have done alot of fruitless searching and need someone to point me in the right direction. First off, I do not want to develop a game. I want to develop third party utility programs to make playing online games "easier". And, I have no idea where to begin.I have taken intro courses in VB, ...

Stack Problem

2312 byte By Centurian at 2007-9-27 22:43:42
This is a major problem I got with stacks...I've been trying for hours and my professor never emailed me back with help so I am turning to the forums for help. I have to do a few things with stacks & these are my problems:1. I have to copy the top element in a stack to an INT2. I have to ...

Please do my homework for me!

785 byte By Ragnvald at 2007-9-27 22:44:19
My professor has given me a nasty homework, and I dont want to do it, so please do it for me. Its urgent, and I will not pay you. Here is the speck (or actually five versions of ...

general

41 byte By plztellme at 2007-9-27 22:47:26
how do i generate an UUID in java?

EAR or WAR ?

706 byte By postb99 at 2007-9-27 22:47:57
Hi, I read some pages over the internet but it's still not clear to me : when do I have to use .war and when .ear ? I have the following webapp structure (see below), created a .war out of it, does it follow J2EE standard ?The webapp is intended to be deployed at one client's, and anyway ...

Creating login session.

2859 byte By ANSI2002 at 2007-9-27 22:48:13
I have a database which holds all my user information including login credentials (username, password)...Here is how I thought of doing it...Create a container managed entity of the table which holds the login credentials. Implement a custom finder method using ejb-ql, which in turn returns the ...

Showmaster-question

709 byte By DOMO at 2007-9-27 22:49:45
The situation:Imagine you're invited to a gameshow. There are three doors lets say A, B and C.Behind two doors is nothing. You only win, if you choose the one with the car.Now the showmaster asks you to choose one door. You choose one.The showmaster says he helps you and opens one door. The ...

Polygons

821 byte By TimRyanNZ at 2007-9-27 22:51:10
I have a requirement to do some manipulation of relatively simple polygons. In particular I have two requirements:1. Determine the area of the polygon2. Create a new polygon from the intersection of two existing polygons that includes the area of the first minus the area of the second.I've had ...

Physics decceleration algorithm needed

290 byte By dantams at 2007-9-27 22:54:08
I am looking for an algorithm which will calculate the decceleration of a spinning wheel, as in a slot machine. A rough algorithm would be fine, accuracy is not that important. If you have an acceleration algorithm, please share, I might be able to reverse it.TIADaniel

Physics decceleration algorithm needed

290 byte By dantams at 2007-9-27 22:54:12
I am looking for an algorithm which will calculate the decceleration of a spinning wheel, as in a slot machine. A rough algorithm would be fine, accuracy is not that important. If you have an acceleration algorithm, please share, I might be able to reverse it.TIADaniel

Patterns library

129 byte By boruvek at 2007-9-27 22:56:12
Could you recommend me any good online library of design patterns with java examples?Type it down! :)Thanks.

spawning new browser windows with jsp

111 byte By jkies00 at 2007-9-27 22:56:39
in a webapp, is there a jsp way to open a new browser window? i'd like to avoid javascript if i can....

JLayeredPane to handle layers in a game

222 byte By onlytoine at 2007-9-27 23:02:13
Hello,I'm looking for solution to handle layers in a game. So, is JLayeredPane a good solution to display graphics in different layers in order to render them on screen ?Thanks in advance,Toine

stop an Animation

373 byte By Mouni at 2007-9-27 23:02:33
How to stop an Animation when i start it tpo create a digital Signal for example: for (i=0; i<t.length; i++) {....// random Gaussian Numbert =((random.nextGaussian())) ;for (e=0 ; e>< 10000 ;e++){g.fillRect(i*10,0*ma齭tab,10,10);g.fillRect(i*10,-ma齭tab,10,10);}.......}...} ...

Game Engine

877 byte By pkabus at 2007-9-27 23:02:41
I like old-fashioned 2D games like Super Mario and Zelda and so I am about to do a little bit of game programming myself. The first thing I like to make is a reusable and extendible game engine. I have already programmed a "game loop" which reads keyboard input, blits images to screen, etc. in ...

Problem with Sun One Studio 4

866 byte By don2109 at 2007-9-27 23:05:56
If this isn't the right place to post this, please let me know. Haven't found anyplace obviously right.Last week I downloaded and installed Studio on my work PC running NT 4.0 and my home PC running Win 98. On each I followed Help instructions developing ColorSwitch application. Everything ...

Better Debugging

662 byte By cbisbee at 2007-9-27 23:06:10
I've been having a problem for a few weeks with my game... I originally posted it at: http://forum.java.sun.com/thread.jsp?forum=406&thread=305086I still can't get it, and I haven't gotten any tips that have been all that useful, so I'm going to change the question I'm asking...I know ...

Image handling

2895 byte By jacksonpauls at 2007-9-27 23:06:43
Greetings,I'm writing a game that uses small images, some being the same as others, but rotated 90 degrees clockwise. I've tried using a rotate function (Method1), but the game is jerky. However just loading a prerotated image (Method2) allows the game to run smoothly. In both cases the ...

my game sounds are played with noticable delay!

553 byte By 242059superJa at 2007-9-27 23:10:19
hi.i'm writing a graphical game by java2D API .i have many threads to run,so when i use an AudioClipobject to play my desirable sounds (.wav files),it would playwith a noticable delay.i decided to use windows APIs through the JNI.but i must first write a c++ code (.h file)then convert it to a ...