278 byte By
JasonGao at 2007-9-27 18:10:40
Hi, developers:When I tried to run examples of j2ee tutorial, I typed "ant all" underj2eetutorial/examples directory but it reported such error:jakarta-ant-1.3.1a==a was unexpected at this timeAny help should be highly appreciated.Jason
Can AudioClip class plays an audio file, "something.wav" of audio format:Microsoft ADPCM. Because, I had a program wihch can plays audio file with format:PCM but it was unable to play an audio format of Microsoft ADPCM. Both audio files are in wave form. Is it becuase there is Microsoft in ...
417 byte By
vanr0 at 2007-9-27 18:11:30
My games were all working fine. All of a sudden cannot access any games. keep getting error java corrupted/misinstalled. really don't know anything about java. Called Aol, no results. had internet explorer 5.0 upgrated to 6.0 hoping that would fix. still a problem. Please help at the end of my ...
254 byte By
princec at 2007-9-27 18:16:52
LWJGL alpha 2 is out, at http://java-game-lib.sourceforge.net/Now with docs and a smidgen of example code on the site.Once again we'd appreciate you having a go at it and see if it's working out the way you'd like it.Cas :)
1261 byte By
ivebug at 2007-9-27 18:19:09
I am writing a network rpg game for the project.Because it is a network game, so i use thread to support multi-user.When i using the string to store the command, and send to the server,it still can work. You can downlod at http://ivebug.tripod.com/new-string.zip(You cannot click the link, you ...
312 byte By
yundi at 2007-9-27 18:22:19
i'm a beginner of J2EE.If i want to build a project with J2EE and Oracle.How could i set up the connection to oracle in J2EE ?I was seeing the j2ee tutorial provided by java.sun.com. but it dose not mention how to connect to oracle DB in the deploytool.Thanks for your ...
1130 byte By
wywiwyg at 2007-9-27 18:23:21
I wrote a euchre game about a year ago, my first game, and haven't done any work on it since then (been too busy). Please try it and let me know what you think. I'll post the source in a day or so if anyone's interested. It's set up so that the basic 'evaluator' class is abstract, so ...
I'm looking for a bunch of encryption algorhythms, for:A) save files for gamesB) a general encryption/decription utilityanyone know of any good ones?Currently I have:rot13rot32 (rot13+numbers+some symbols)rot128 (rot13 on the whole char range)CSS - decryption only, from DeCSS (is this ...
215 byte By
Ragnvald at 2007-9-27 18:24:18
http://search.java.sun.com/search/java/index.jsp?col=javaforums&qp=%2Bforum%3A406&qt=greece&x=1&y=11This topic has been deleted by an admin.Is it forbidden to talk about it also?
186 byte By
Olly_W at 2007-9-27 18:25:02
Has anybody tried using the new fullscreen mode for games? I've not updated my JDK yet so I haven't been able to try it out. If so, does it allow games to run at a decent speed?
I'm trying to solve some ill-conditioned simultaneous linear equations for a graphics application. Gaussian elimination using total pivoting on doubles isn't accurate enough. Does anyone know any better techniques?
Hi people,Is there a games api for Java ?If not let's start a project to build one !!!evert@cnerds.com
78 byte By
DOMO at 2007-9-27 18:31:19
I don't find this forum in the forum listing!Did you forget it?
hi all,can anyone recommend some good books on game programming? I consider myself as an intermediate-advanced java developer, but I don't have any experience in Swing/3D/game programming. So any helps will be greatly appreciated!The first game project I want to write is a pool game. Will ...
675 byte By
kevinp34 at 2007-9-27 18:44:10
Does anybody have any experience in this area? I have an online rpg type game that I'm working on and its going fine, the only problem is that the map scrolls too slow so your character moves too slowly. For my map I simply extended a JPanel. For every tile the character moves(one tile = 32 ...
199 byte By
mlk at 2007-9-27 18:44:24
(this forum was all alone, so here is Yet Another Beeping IDE Post)Does anyone here use UML enabled IDE's like Rose or TogetherSoft? If so, do you find them helpfull, or a pain?
I'm looking for an algorithm doing text searches in filesI need it to support AND OR + - keywords (for example "ejb AND peristence")Does anyone knows where I cand find this kind of algorithm with the full source ?Of course I can adapt C,C++ to Java.In fact my target language is Serverside ...
262 byte By
nleaver at 2007-9-27 18:45:18
Hello,Please could somebody help me to convert a long millisecond value into int's for hours, minutes and seconds?Thankyou in advance.p.s. So far I have done long seconds = millis / 1000; :-)
Hello I am new to J2EE, and I was wondering what are the advantages of using EJBs to implement the business logic, and DAL, when all of that could also be achieved using static java classes. I am obviously working in a non-distributed environment.TIA
I'm currently working on a particle emitter, it should be 'finished' as soon as I figure out why the frame-rate, when rendered real-time, becomes so terrible (not even frames-per-second, more like seconds-per-frame).Note: this is all Java2D, no 3D whatsoever.Anyhow, the way that the ...
357 byte By
ctmoore at 2007-9-27 18:47:23
Anyone have any links to code that does this quickly?More specifically, I'm looking to calculate the hexadecimal digits quickly. So either do that or calculate base 10 and convert them fast.[I don't need the Bailey-Borwein-Plouffe Algorithm as I don't want individual digits, I want the ...
Hi I really like your game. I am David, twelve year old, and I am learning Java programming. It would be cool if i can program games in java. So can you send me the source code for the game so that I can learn? My email is kenjin740@hotmail.com . Thanks!
3046 byte By
laslos2 at 2007-9-27 18:48:43
Hi there!Once again a problem to solve.Im currently developing a application with a problem domain that easily could be designed with the composite pattern (Hier structure).The domain consist of the following entities;Company; As the name says, an organizational unit.Supercompany; Virtual ...
348 byte By
rabbia1 at 2007-9-27 18:50:14
sir,i would like to know that what is the difference between "is-a" relationship and "has-a" relationship.&i have read that if we dont have "has-a" relationship then there would be duplication of work, but i cant understand that what if there is no "is-a" relationship, what could be the ...
296 byte By
serpe75 at 2007-9-27 18:52:07
I'm a beginner in multiplayer game programming and I'm looking for the code of a basic server for a multiplayer game. I don't mind which kind of game (I mean: chess, ping-pong, battlenet...) The important thing is the code pattern abnd the server structure.Could anyone help me?
570 byte By
juliante at 2007-9-27 18:52:43
Hi!I'm not writing any game, but this question should pertain to game coders.I've written a multiuser server, which accepts incoming TCP connections. The problem is that on a windows NT 4.0 machine I can not make it accept any more than about 250 connections. Under Mac OS X this can simply be ...
331 byte By
Hephos at 2007-9-27 18:52:49
Well basically i don't want to use a square ugly standard java frame, or usual window.I want it to be individually shaped. Just like the windows media player.If you put it in compact mode, it removes all visuals of a real windows and looks really good.Is that possible to do with java? And if ...
374 byte By
ctmoore at 2007-9-27 18:53:08
:chopping off the integer part of a Double/Float:double d = 'some double';d -= (int)d; //is this the best way?example-3.19283 --> -0.19283 0.9999-->0.999911.00192 -->0.00192:dividing out and rounding:double ak = 'some double';double r = 'some double';r -= (int)(r / ak) * ...
The Java Plug-in has changed the looks of the yahoo games that i play. It also causes me not to be able to see what other people are saying. How do I fix this.
506 byte By
horman_w at 2007-9-27 18:58:23
Dear sir/madam,i'm doing my final year project and it is about a java client/server big2 game.But now i have a difficulties in dealing with the server side.That is about how to take action on the serverside if the client suddenly disconnected.I have read many java client/server programming ...
Does anyone know any good java game programming tutorials. I cant seem to find any good tutorials that cover a wide spectrum of concepts.Thanks.
381 byte By
Woogley at 2007-9-27 18:59:50
Yay me, I made a game. Unlike my first attempt at this, this version does not have any bugs (to my knowledge). You can play it here: http://smigs.co.uk/skittles/Breakout/Post comments, scores, whatever.By the way.. my highest score was 10050. I wonder if any of you can beat that :PBy the way, ...
148 byte By
atlonyx at 2007-9-27 19:01:53
Plase, anyone tell me where I can findto download for free the best workflow builderthat supports j2ee for windows.Thanx
Hey everyone,I've recently taken up Java programming and decided to write an internet multiplayer pong game as a learning tool. I've gotten as far as writing a simple pong game and connecting multiple clients to my server.The problem is lag. I don't know how to handle it. When playing two ...
1719 byte By
wywiwyg at 2007-9-27 19:04:24
I'm pretty inexperienced when it comes to graphics programming, so these may have really simple answers I'm not getting. (1) Say I have an image, and I want to draw just a portion of it to the screen. How do I do this? (2) Also, I load my image this way:Image img = ...
4562 byte By
yoda23 at 2007-9-27 19:06:12
I came up with a class that handles flag manipulation using Bitwise operators. Does anyone think this is more efficient than using boolean variables for flags? Or is this just overkill. The reason Im asking is Ive used this approach before on Muds that I have written/updated. Just wondering if ...
hi I m new with java n i my first project is minesweeperwe have to use the MVC (Model View Controler)to design this program i really dont know where to statr would really appreaciate tipsmy email address is
2001 byte By
aedemar at 2007-9-27 19:11:02
Hi,I am designing an application that will provide a web service front end to query AS/400 data. The web service will access a stateless session bean that will call a DAO to execute the query on the AS/400.The queries will be made up of varied search criteria and will be specific to a set of ...
Hi All,before anyone gets upset, I did post a shorter version this to the Java Prog forum a couple of days ago. I'm reposting here because the thread was pushed down the list just as comments were getting interesting, and I was tossing up which forum was most appropriate anyway...OK, I'd ...
Hi AllI thought that FCS means First Candidate Release, but now I think I have bean wrong, because the last word is S not R!!!So does anybody know what does it mean?Is the JDK 1.4.1. FCS, a stable, final version or not yet?Thanks alot
1614 byte By
taipan at 2007-9-27 19:14:38
Hi all,About 3 years ago I was working for Ubisoft building Java games. Back then (jdk 1.1.8), the fastest way to produce images with effects and all was to manipulate the image as an array of pixels (int[], ARGB) and to use a MemoryImageSource to produce the image.Now I feel like building a ...
374 byte By
taipan at 2007-9-27 19:14:40
And by the way, what would be now the fastest way to create an animation with images made from an array of pixels ? I mean, if I build a 640*480 game, and wish to have a nice frame rate, I need to be able to update all the pixels 30 times per second, so at maximum, the full update + display ...
1032 byte By
Tbergman at 2007-9-27 19:16:36
Greetings all...I'm not any good at java...yet.However I was wondering if anyone can help me write a javascript calculator that will solve an equation for my father-in-laws website.He wants to allow visitors to calculate a flow rate of gallons per minute (GPM) by entering 4 variables. Now I ...
278 byte By
lentzner at 2007-9-27 19:17:06
I want to keep sprites on a image strip and clip them individually into memory as BufferedImage objects. This works fine except the transparent pixels in the original are changed to black. How do I preserve the transparent information?Thanks in advance,Matt
475 byte By
jkeppens at 2007-9-27 19:17:29
Hi,I'm programming java for some years now, and I was wondering about using the java 3d api for some leisure purposes. What are your opionions about this api? Is it fast, or isn't it worth bothering...I've taken some courses on ogl & d3d for c++ but I'm more comfortable programming java ...
1303 byte By
csuyp at 2007-9-27 19:17:37
I've made a slider puzzle applet (picture split into tiles, jumbled up etc. etc.). I use a FilteredImageSource with a CropImageFilter to split the main image into a number of smaller images. Trouble is, it's really, really slow, and the game takes ages to load if you split into more than ...
What is a game engine?
927 byte By
Hephos at 2007-9-27 19:21:07
Well, when doing the active rendering aproach where the game goes into a gameloop. It sort of like "hangs" the rest of the game.I also use a net (networkhandler) that reads off the network and sends the data to the renderer.I can't get any keyboard input etc.How do i do that?Heres some pseudo ...
I'am working on a typical workflow application .Records can be added ,Updated , sanctioned, Authorized,Deleted & viewed. Business rules are :-1)Only fresh & Sanctioned records can be modified2)Only Sanctioned records can be Authorized3)Only non Authorized records can be updated4)Only ...
108 byte By
JTeen at 2007-9-27 19:23:33
I want to know the best way to draw pixels to an image. The setRGB method is slow. Thanks in advance.