Status of JSR 134 - Java Gaming Profile

298 byte By memphis_a at 2007-9-28 10:29:13
When Microsoft is advancing with rapid speed for integration of DirectX 9.0 with .Net, we have a vital new language C#(Java like) available for game programming.but what are Sun and other companies doing....I wish I can see JSR 134 meterialize in my life time

Good game application (non-applet) tutorial

467 byte By Dashivana at 2007-9-28 10:35:16
I've been looking like crazy... and I want to focus on applications, working into Java3D or OpenGL4Java but all the tutorials i've found deal strictly with Applets.Now i'm not too familiar with applets or their differences with apps, but i'd just rather stick to applications ATM.I've ...

a game

127 byte By welkeidkiezena at 2007-9-28 10:35:23
It's not a real game yet. I'm interested about your thoughts. Thanks. http://www.venihayet.netteyim.net/jump.jar

Using ColorModel

563 byte By Rabbia at 2007-9-28 10:38:13
Hi everyoneI am programming a game and need to make some image filtering. I need to change all black pixels in my images to transparent ones. I am thus designing a new class over ImageFilter. I am trying to overload the getPixels() function. What I can't understand is how to get the integer ...

javax.sound.sampled 1.4.1 problem

2181 byte By lamstera at 2007-9-28 10:39:02
When playing sampled sounds using the Windows java 1.4.1 virtual machine, sounds play back incorrectly and the sound thread blocks all other goings-on, causing the main game thread to slow down and chop madly. After some testing I've concluded that this problem does not exist under the Windows ...

My game is so slow...

6889 byte By cccBa at 2007-9-28 10:41:29
HiIs it a way to change this game so it runs faster? This class works as it should, but it`s really slow on some computers. And the more sprites I add to the game, the slower it becomes. How can I make it to run in the same speed no matter how many sprites there are?Here is the code for the ...

Filtering an Image

1270 byte By Rabbia at 2007-9-28 10:42:06
Does anybody know how to filter an image. Such that I chnage balck pixels into transparent ones. I have tried to override the ImageFilter as shown below but with no successpackage SpaceCommanders;import java.awt.image.*;import java.awt.Color;public class BlackToTransFilter extends ...

What Components Is Best To Draw On ?

189 byte By WaterWolfa at 2007-9-28 10:42:46
Hello,I'm writing a swing application which will have a pane with animations in it. What's the best component to use for this pane ? Should I use a panel, a canvas or what ?

To write the screen image to disk.

265 byte By sgrba at 2007-9-28 10:43:36
With imageIO I can write an image file to disk.How can I do to write the screen as a file .The screen can have many images on it,is it possibleto write the whole screen as an image ( a frame ?!).thanks a lot. regards Lando

How to describe algorithms in business with UML

285 byte By xu_chengba at 2007-9-28 10:44:09
Hi,I need to describe business requirement of a small billing system with UML, however, there is a lot of algorithms in the business requirement, I don't know I should use which diagrams to describe these algorithm. Is there anyone can help me?Thankschengb

Urgent: need help with algorithm

2509 byte By BLC29a at 2007-9-28 10:44:32
Hi, I'm currently trying to make a calculator GUI, but have run into some problems. My main problem is, I believe, coming from my operator actions. A portion of my code ("=" button and "+" button) is as follows:if (e.getSource()==buttonEqual){String s1 = resultText.getText();currentNumber = ...

J2EE doesn't run...PLEASE HELP!!

643 byte By rikingandhia at 2007-9-28 10:45:40
When I try to run j2ee from my console I get the following message:Fatal Error: This J2EE SDK release runs only on Java 2 (JDK1.2 or later)I have j2sdk1.4.1_01 already installed so I don't understand why i get this error message.I have also set all my paths as follows:Path=C:\Program ...

Game Problem

356 byte By johnpugh24a at 2007-9-28 10:46:22
I am making a 2D game with a top down view, involving multiple sprites moving around the screen, each can change direction of they own accord and i was wondering how can i work out what the new coordinates for each sprites given the direction of travel (angle), the old coordinates and the ...

How to convert Jar file into UML diagram automatically

148 byte By myhouria at 2007-9-28 10:49:44
hello everybody,is there anyone knows any free software that converts the jar file into UML class diagram.thank you in advance.

JSR 134 Java Game Profile

93 byte By TateYanceya at 2007-9-28 10:50:51
Does anyone have an idea when this is supposed to be finished? How far along are they?

Urgent help needed on problem

7322 byte By GarryHuanga at 2007-9-28 10:50:52
Hi people,i've got this quetsion below, which i've solved, but desperately need to up the runtime speed (its way too slow!). The hint given was through the use of memoization, which i've tried to implement by putting a global array, but it still times out.I am starting to think it's a ...

how to draw images in application

461 byte By zuloa at 2007-9-28 10:53:23
hiWhat component would you draw Images to in a application game?I have made a sprite class that uses images,and it has a draw method.But I need to specify a component like this g.drawImage(image,x,y,component)What do you guys do when you program sprites like this?before I always used applets so ...

JFC 2D Graphics

359 byte By JavaChipa at 2007-9-28 10:54:44
Hello, I am using Java to incorporate some graphics into an application I wrote. I called many of the Graphics classes like Image for example. I am not really writing a game, and was wondering if there is a better place to post my question on this forum with regards to graphics. I realize ...

kmeans algorithm

1858 byte By zzenitha at 2007-9-28 10:55:00
Hi,I am trying to implement kmeans algorithm in java for my data.I have my data stored in ms access format and my application use sql to retrieve selected. I was testing to put sample data into vector.e.g. {fund A, 0.022,0.45}, {fundB, 0.432, 0.888} etc.As I learn the theory concept of kmeans ...

I need Flash MX

333 byte By jorchia at 2007-9-28 10:55:04
I need to know a warez site where i can download the full version of Macromedia's Flash MX. I willl give 10 dukes to the one that tells me a site that works. If nobody gives a page, then I will give 6 to the one who tells me where to find Flash 5. I need it very urgently. your help will be ...

Custom button (Rounded not square)

198 byte By JavaChipa at 2007-9-28 10:55:34
How can I create my own custom buttons. I want to create buttons that are round, not square. If anyone knows of any fancy code examples that will do this, I would really appreciate it.

exceptions and patterns

1865 byte By malrawia at 2007-9-28 10:56:17
hi,i created a bunch of exceptions as an exacmpleclass MyException extends Exception{}and an interface to handel different ways to handel my exceptions sayinterface HandelInterface {handel(Exception exp);}i created a class that implements the interfaceclass GErrorHandel implements ...

Why singleton-pattern is not working?

717 byte By mikkomeha at 2007-9-28 10:57:26
Hi,I have two classes, singleton:public class Singleton { private static final Singleton INSTANCE = new Singleton(); protected Singleton() { System.out.println("Constructor of Singleton"); } public static Singleton getInstance() { return INSTANCE; }}And a tester:public class Test { public ...

General design problem with Observable

255 byte By borbjoa at 2007-9-28 10:59:03
I would like my subclassed JTree to be Observable and notify observers when the selection changes.But I can't extend from JTree and Observable at the same time.I must be braindead today or something, but please enlighten me :)

What do you think?

2398 byte By Octia at 2007-9-28 11:00:26
I have made a little simulation thingy in my spare time, I'd like to hear about comments etc. Even though it is not actually a game, it could become one...here is a zip of the whole folder with the models and jb7 project included: http://www.human-future.de/EcoSystem.zipHere's what it's all ...

KeyListener problems

668 byte By pierre_sodermana at 2007-9-28 11:03:00
Hi everybodyIm devoloping a small game where you control a small war-tank, you can rotate it and go backward and forward. I control it with the arrow-keys. When for exemple I push the forward button(Up-arrow) and while holding it down I want to turn the tank in some direction so I press the ...

Controller servlet?

652 byte By mahi18a at 2007-9-28 11:03:03
Hi there!I am re-writing a web application using design patterns, actually for learning DP.I am using JSP at front end. I have this doubt, which hopefully you experienced guys have answers for.1. I have a Controller class (servlet), which calls a appropriate Action class when some action takes ...

I NEED YOUR HELP with my game PLEASE! It runs slow!!

1100 byte By pars40a at 2007-9-28 11:03:04
I asked this question in "Java Programming" but I did not get a good answer.This is the second time I am writing this same code, which is for a pacman game, (I converted my code to active rendering) but I still have the same problem. I am totally frustrated, please help me.The problem is ...

XML over HTTP out of the EJB container

493 byte By cfeathersa at 2007-9-28 11:03:05
I need to communicate with a legacy system via XML over HTTP from the EJB layer. I created a custom solution for this on a previous assignment using Castor for the marshaling etc. and standard JDK classes for the opening the HTTP connection, posting etc. I am thinking of implementing a similar ...

Another ask for tutorials

292 byte By bauerr1a at 2007-9-28 11:05:06
Hello,I'm looking for some basic game-tutorials, e. g. how tocreate a sprite in JAVA. The tutorials I found by doing aquick search seems too abstract to me.So it would be kind if you can recommend some links or books.Thank you in advance.Ralf

2 mch fsckng txt tlk!

203 byte By shishthemoomina at 2007-9-28 11:07:16
Fer christ's sake people, vowels are good! two letter words don't need shortening! I'd like to help you people but after seeing "plz hlp, u du mi hmwrk!!!" I just get depressed and wander off..

Menu's etc. based on user level

466 byte By borbjoa at 2007-9-28 11:07:45
I need to implement "user level" (available actions based on rights) functionality in my app .. this may affect everything from actions (menus, buttons) to available Fonts etc... suggestions? .. I was thinking of adding a "level" (int) to all my classes, and then creating a Factory that would ...

Border Collisions

706 byte By GniBa at 2007-9-28 11:09:04
I am making pong in java, everythig works but I can't seem to get collision detectionworking, Everytime the ball "collides" with the borders, it just goes berserk, stays inthe border for a bit and the contiues on. All my other code works fine except border detectionand was wondering if anyone ...

Writing and combining BufferedImage(s)

2308 byte By JavaChipa at 2007-9-28 11:09:57
I am trying to draw an oval on an Image (Contains a gif). After the oval is drawn,I want to place the new modified image on top of another image and then display the combined images to the screen. Note that the oval Must be drawn before lines 24 and 26 are executed. Here is the code. The ...

Abstract class to be implemented by its sub classes

3078 byte By mahi18a at 2007-9-28 11:11:28
Hi there!I have been told that it is good to have an abstarct class and have some common methods in that class, so that its sub classes doesn't have to do them again. So, what I have done is -public abstract class EntityBean extends Object{protected ServletContext servletContext;protected ...

Math. algorithms

394 byte By cechyna at 2007-9-28 11:14:32
I齧 looking for an JAVA algorithm, which can compute the roots ofan polynomial given by coefficients f.e. in array:[a0 a1 a2 a3 ...]polynomial: a0 + a1*x + a2*x^2 + a3*x^3...= 0 x = ?Could anybody help me to find some web links to source codes ofadvanced mathematics functions such as finding ...

Using multiple SMTP servers but a single Internet Service Provider(ISP)

1267 byte By onlysammya at 2007-9-28 11:15:18
Hello Sir, I am working on an Enterprise Java Bean Application running on J2EE application server and use JavaMail API to send Emails throu' the application.... In the J2EE Deploytool the SMTP server is set to "smtp.roltanet.com" provided by ISP....and by connecting to Roltanet we are able to ...

Straight Line Movement

363 byte By daibhada at 2007-9-28 11:15:25
Hi, I'm creating a Predator-Prey game. I need to be able to move the predator in a straight line towards the prey.So when the prey moves, an imaginary line (which is implemented as a normal line) is created between the predator and prey.The predator then should move along this line towards the ...

OOD Methodologies

443 byte By FaceLinea at 2007-9-28 11:17:05
What would you people suggest for 齡ood?methodologies for OOD design (and for non OOD)?I can only currently think of 3: UML, RAD and Xtreme programming, with UML obviously being the most popular and normally the most suited.UML is however rather bulky so are their anymore streamlined ...

card images?

224 byte By apasechnik1a at 2007-9-28 11:19:12
i am sure that people have made card games so my question is this: where do you get the card images? any good websites? any place i could find them on my computer(they are used by solitare, arnt they). Please help me.

Realtime, Multiplayer Game. But how?

513 byte By saugeila at 2007-9-28 11:19:16
HiDoes anyone know where I can get information (i.e code examples, understandable explanations) about Java realtime programming (time scheduling, graphic thread, synchronisation)? What I want to do is some 2d game where 1 or more players fight against each other over some network in realtime. ...

Hiding mouse pointer with full screen ?

470 byte By Chepsa at 2007-9-28 11:19:45
Hi,My program is running full screen, using a Panel in a Frame and the method GraphicsDevice.setFullScreenWindow(). I'd like to hide the mouse pointer, and I was thinking I could simply create a 1x1 transparent image and set it as default pointer, but is there a clean way to hide the mouse ...

pixelploting fps in fullscreen ?q

336 byte By lightxxxa at 2007-9-28 11:20:08
i am makeing a class that allows me plot pixels to the screen, shading polygons with my own algorithims.What i want to know is 1.) what is the fastest way to do this in full screen mode ?2.) and id like to know what framerates people have seen themselveswho have experimented with this already ...

how to enable ssl in weblogic6.1

54 byte By okrishnaraoa at 2007-9-28 11:20:17
i want to know how to enable ssl in weblogic6.1

Network bandwidth calculation

270 byte By raghu_raman_ka at 2007-9-28 11:21:35
Hi guysI need to calculate network bandwidth available to my appletand if the internet connection is slow it has to show the status in red color and ...internet connection has enough bandwidth it has to show green colorHow do i do this

which image format is the best

139 byte By apasechnik1a at 2007-9-28 11:22:46
which image format would be best to use for a card game?which format is the smallest, best quality, good combination of both?

create executable copy

77 byte By a_c1a at 2007-9-28 11:23:23
how i can create executable copy of my applcation (.exe)thanks

Stack overflow

1093 byte By tashi2a at 2007-9-28 11:23:41
I am using the following code to do a quick sort on different data sizes. When I increase the data size frm 1000 to 10000 or above I get stack over flow message at line 41.public static void quickSort(int [] array){q_sort(array, 0, array.length - 1);}public static void q_sort(int [] array, int ...

Loading all images from Jar include the directory structure.

1732 byte By Katzuraxa at 2007-9-28 11:24:11
Hi I would like to puts all my images in a Jar. is it going to improve the loading speed?I have a ImageLibary that load all the images to a hashtable and access each image by their path and filename. I only have to input the image root directory and it will load all the images including ...

Is clipping an Image or an ImageIcon object possible?

1212 byte By ahalea at 2007-9-28 11:25:19
This is my first time posting here so I apologize if I sound stupid. Usually I can find the answers to all of my questions by searching the forums but I haven't been able to figure this one out.I am breaking down and writing a level editor for an rpg style game I'm working on that will ...