478 byte By
Rabbi at 2007-9-27 15:37:32
I have finished a Space Commaders game using java that can be found at http://www.geocities.com/ddmusc/SpaceCommanders. It works well on my computer but I have tried it on another one and didn't work. I don't know exactly what is the problem. Can somebody test this game on his machine and ...
479 byte By
Rabbi at 2007-9-27 15:37:33
I have finished a Space Commaders game using java that can be found at http://www.geocities.com/ddmusc/SpaceCommanders . It works well on my computer but I have tried it on another one and didn't work. I don't know exactly what is the problem. Can somebody test this game on his machine and ...
What is the correct usage of a value object in the following example:I have an entity bean that encapsulates a business, and the bean has methods similar to getName(), getAddress(), etc. Lets say for example we have 75 accessors and 75 mutators for that bean.I then use a session facade to ...
903 byte By
baudrate at 2007-9-27 15:47:57
Hi all,I am looking for some pointers to design patterns that deal with authorisation.The issue at hand is the following: for an enterprise application we need to implement a mechanism that manages user-access to certain data. Example: if a user asks for sales-figures, only the data that he/she ...
i want to write a simple game which would have multiplayer mode over network. (maybe lan or internet) so i have many questions...how to write network multi-player game? without serious lagging (not due to network) but a lots of data to transfer?how to transfer data? multi-unicast/multicast? ...
2047 byte By
wololow at 2007-9-27 16:03:53
I made this simple card game which you can checkout at http://www.koutbo6.com I used AWT components and used Panels for drawing the cards and the main game panel has a null Layout. It runs perfectly on all java enabled browsers ... except for IE on windows XP. I came across a problem where the ...
339 byte By
rkatteri at 2007-9-27 16:05:55
Hi,The pattern states that"The ValueListHandler session bean caches ValueList to avoid repeated, unnecessary execution of the query."How is the caching performed so that multiple clients can share the same ValueList? And how can the server update the ValueList while a client is iterating over ...
842 byte By
LowRida at 2007-9-27 16:07:37
Hi I've developed a game similar to wheel of fortune but is stuck with a piece of code ....can some point me to the right direction. What I need is to stop the player once he/she has press all the letters that spell out the word. This is the algorithm when the user presses the letter ...
253 byte By
Virum at 2007-9-27 16:09:05
I can't use System.getCurrentMillis, theads aren't acurate. What do I use?ANd when should I use threads? I normally have one that other than main that does the rendering and makes calls to object methods. Is that all I need?Thanks
2203 byte By
St0rm at 2007-9-27 16:11:33
I wrote a little doc about what I think should happen in Java 3.Pete's Top 20 Ideas for the next JavaThe first ten or so are based on Eliotte's article, "10 Reasons WeNeed Java 3.0," and the comments to it.1. Delete all deprecated stuff2. Fix incorrect naming, including get/set in java.nio3. ...
230 byte By
ren225 at 2007-9-27 16:14:58
Hi,I'm just wondering if anyone's created a game (e.g. a car racing game) with a mirror. If so, how did you go about creating the mirror (i.e. flipping the image so that the mirror showed a reflection of the image)
i am trying to create a applet to simulate the TCP/IPprotocol suite. I want to have two computers on screen with messages going between them. One computer will send a message and the other will send an acknowledgement back, this will have a counter and if the acknowledgement is not received ...
Hi, I was hoping someone could explain the concept behind using an array for a level in a 2d game. The only tutorial I could find on the subject was not helpfull. I do not see how to take the array and create a grid where I could place a character or wall into an array location. any help is ...
294 byte By
ren225 at 2007-9-27 16:21:27
Does anyone know if there are any PC steering wheels that behave more closely to real car steering wheels? The only steering wheels I've seen are steering wheels that only go 1/4 of a revolution either way. I'm looking for a steering wheel that can go at least a couple of revolutions.
12117 byte By
mihalyB at 2007-9-27 16:23:30
I am writing a game with AWT having it as an applet. I intend NOT to use anything outside of Java 1.1For my Game i thought that i ATLEAST need the following classes:MainGame, Level, Unit.I Started writing Level. wrote a fewe methods for it such asdrawGras(int grastype)And started to write ...
I'm a decent programmer but a terrible artist. Where should I go to get textures and models to use in a game? Do I have to hire someone to make them, or is there an easier/cheaper way?
105 byte By
ED_R at 2007-9-27 16:30:38
I know the basic in Java. What Do I need learn to can make 3D games?Thenks for help
450 byte By
mihalyB at 2007-9-27 16:37:49
I have been trying to make a game with AWT and diffent classes..And every time i get a NullPointerExaption i have now posted 2 topics in diffrent forums and nothing seams to make it work...So now i ask.. if someone got a source code file off a game:# Using AWT# Having diffrent classesPlease let ...
759 byte By
f3rn4nd0 at 2007-9-27 16:45:35
Hi,I'm working at fullscreen, i've got a class that extends a Canvas, which will be used for showing graphics. I've found out that when i put code overriding the paint() method to draw images, the images are drawn.But when i put code to draw images *outside* the paint method, these images ...
334 byte By
cbisbee at 2007-9-27 16:45:41
I'm drawing my screen background on a BufferedImage, and then copying it over to a VolatileImage, which is then drawn to the screen.My problem is... when I first render the BufferedImage, it whips right through... No problem whatsoever. But when I write over the data, it's painfully slow. Any ...
Hey everyone. I started coding my first game in java recently, which is an applet implementation of missile command. (before this, I'd only coded a few VERY simple games in VB and VC++)Anyways, It started out great, but I started getting problems like flickering, and even all out crashes(in ...
i am a beginninger and interested in learning how to integrated ejb with struts, but few questions make me confused. while using struts, with its mvc model, developers are able to only code business logic in action stage and load actionForm, i.e. so called as model. then foward it to the view ...
508 byte By
Olly_W at 2007-9-27 16:47:27
Hi everyone, I've programmed a game as a surprise for my girlfriend's daughter (featuring her as the main character) and if anybody would like to check it out it's at: http://www.geocities.com/chloegameBasically you have to fly around dodging things, and when you die the computer gives you a ...
829 byte By
Virum at 2007-9-27 16:47:59
I am making a RTS game (refrase...will be trying, don't know if I will be able to do it). My big question is how should I make the units have different colors, according to the team. Should I make each image with the available colors? THis doesn't sound like a good alternative, but neither ...
Hello!I'm a Belgian programmer, and I'm looking for all informations about the way to communicate from a computer to another using Java.In fact, I'm implementing a kind of on-line game using a GUI on each player's computer. This GUI sent to and receive from each other all informations they ...
226 byte By
JTeen at 2007-9-27 16:49:19
Anyone know how to get really smoth animation? I'd like some tips so that I won't have jerky animation. Maybe some faster image drawing methods than drawImage? I've done some games before but this has been a problem.
Hi,I created a game in java about 8 months ago or so. This is my first attempt at a game. It is kind of a cross between Missle Command and Asteroids, (Yeah, I know.. another space game). If any of you have the chance please check it outand let me know your opinion. Any feedback, good or bad is ...
From the EJB 2.1 spec (final draft)10.6.10 (from the spec)--:: This clause allows inheritance for interfaces ::--The remote home interface is allowed to have superinterfaces. Use of interface inheritance is subject to the RMI-IIOP rules for the definition of remote interfaces.--:: And this ...
war file get deployed to .wlstaging and not applications when i use weblogic.deploy tool.any help..thx
486 byte By
LA Onda at 2007-9-27 16:59:43
I am planning to write a game in java that must be multi-platform and must have a very good performance. I am making a kind of rts. This rts will only be 2d. I am planning to get as many moving little objects(pics) within a second as i can. What is the best method in doing so. Performance wise ...
Can anyone tell me, (ie. give me a URL) where I can learn good methods of hit detection/scene management?For the game I'm making right now, I don't need to do anything too complicated (just check if small projectiles are colliding with stuff on the screen), but in the future, I may want to ...
i have a network client/server game. i need an endless loop thread to constantlylisten to incoming connection requests AND another endless loop thread to respond to clients mouse clicks, chat messages etc.i can get them SEPARATELY to work but cant seem to get the appletto start the 2nd ...
423 byte By
cbisbee at 2007-9-27 17:03:16
I put this up awhile back, but I didn't get any comments on it, so I'll be stubborn and try again. I've written a strategy based football game. It was written using 1.4.0, but I've heard that it'll run under 1.3.1... If someone could check that out for me, I'd appreciate it.Anyways, the ...
1022 byte By
yoda23 at 2007-9-27 17:08:51
I would like my Canvas and fade everything that is painted on it and fade it to black. When the character goes to move off the screen, i.e. the road leads off eastward, I want to just fade out and then fade in with the new screen. I've seen some posts using the ...
2192 byte By
zxcqwer at 2007-9-27 17:22:10
a sort of KeyListener without a GUI Component? ( or any trick that will do)?please be patient with my question I can't express myself very well but it's very important.Please help me I need an example how to implement a way to detect some combination of keystrokes in java without any GUI ( ...
160 byte By
becan at 2007-9-27 17:22:55
I am ne?in EJB, and I only know use little j2eesdk.Now I have built some CMP beans, could you help me build JSPs calling these beans.Thanks
410 byte By
guyw77 at 2007-9-27 17:24:40
Hello,I use new FileWriter("save.txt") to write to a new file.Working with JBuilder it was fine.Now I change the environment to dos os, using appletviewer, and for some reason, I get exception on this command, and the exception is:Error -- java.security.AccessControlException: access denied ...
Hi everyone!I am new to Swing, and I would like to know, if is possible create a application using Swing as view tier in a J2EE(EJB) project? Did anybody create one yet? How many J2EE projects do you know which Swing is used as view tier? Using Swing is so much more complicate than a ordinary ...
Sorry if I sound stupid, I've never done graphics in Java before.How do I draw an image while leaving pixels of certain colors undrawn?For example, if I have black colors on the image than it won't be drawn, and instead the corresponding parts on the destination surface is shown instead.Or is ...
Hello EveryoneI've become so frustrated by using this deploytool.......I dont know what i'm doing wrong.....let me tell u in detail......I'm creating an EAR file using the deploytool.....I'm successfully able to add servlets and other class files to this EAR file...The EAR file also deploys ...
3632 byte By
t_noda at 2007-9-27 17:29:48
According to J2EE Design pattern book, I抦 trying to design better 揅omposite?Entity Bean. The book says, 揈ntity beans are not intended to represent every persistent object in the object model. Entity beans are better suited for coarse-grained persistent business objects?(310 Core J2EE Patterns). ...
2635 byte By
Minusone at 2007-9-27 17:35:27
Hello everyone... just wanted to get some quick peer review action going here...Okay I won't waste your time with a lot of "big picture" **** of this entire mamoth application we are building... but to try to make a long story short here's the basic idea:We are doing a lot of main frame ...
1189 byte By
celovicd at 2007-9-27 17:37:29
I am using the command pattern to interface with the business tier. The commands are generated by the presentation tier and then sent across to a CommandHandlerEJB (sateless) on the business tier, who invokes execute() method on the command. The command in turn calls other EJBs in order to ...
1406 byte By
shivasvj at 2007-9-27 17:40:50
I am using the patterns described in Core J2EE(TM) Patterns: DataAccessObject pattern ref : http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html************************************************Using a DAO and DAO Factory - Client Code ...
60 byte By
luano at 2007-9-27 17:54:54
Has Java for the playstation been made available yet?
325 byte By
cbisbee at 2007-9-27 17:59:58
So I have a background map, and I want to draw a ship on top of it. Problem is, when I load in my jpg and stick it on top of the background, the jpg is a square. It makes sense... the jpg doesn't know that I only want my what isn't black. But is there a way I can easily get rid of the ...
728 byte By
funkyB at 2007-9-27 18:02:32
Hi there,we actually face the problem of EAI Integration...By management decisions we now have two major product strategies inhouse:- SeeBeyond's eGate (v4.5)- Weblogic WLS (v7)Inside our company we now have two groups argueing when it comes toIntegration strategies:- Integrate with eGate- ...
715 byte By
mihailod at 2007-9-27 18:06:28
I really like Tetris and I searched the net fora good Java implementation of the original PCgame made by Pajitnov, Pavlovsky, and Gerasimovback in eighties. I played Java on Sinclair ZXSpectrum, Commodore Amiga, PC (DOS/Win versions),Atari ST, Dreamcast and on big arcades and noneof these was ...
Hi,I adore applets and the package AWT... And I would like to know if some way exists to integrate my applet with my application J2EE... I want to use these in the vision tier in a J2EE(EJB) project...How can I make that my applet acts as an observing process of my model? If the JVM will be ...
What is the difference between DirectX and OpenGL?