my server and clients all work when they are running on the same computer, but when i try to move my client and run it on another computer, i get an AccessControllException saying that access has been denied to the computer that is running the server. is there something i should throw into my ...
Most of the games i've seen here are with applets does anyone have an example of a game that they have made that doesn't invovle an applet.
I need help from someone who has dealt with gaming on a client server basis. In other words help from a senior experienced developer with this question would be appreciated. I wrote a pretty cool game. A lot like video poker. Currently the game player is awarded with points, but I can always ...
531 byte By
MoGGya at 2007-9-28 17:22:58
public void talk2(){if(x==400)if(area1.setVisible(true));area2.setVisible(true);add(area2);}public void talk2(){if(x==400)if(area1.setVisible(true)==true);area2.setVisible(true);add(area2);}is there anything wrong with either of this codesbtw this is for a mini game speech bubble where by a new ...
575 byte By
mtrenksa at 2007-9-28 17:23:56
Can anybody tell me what happens with security when using a Session Fascade ? I identify myelf to the Session Fascade, does it propagate the security information to e.g. an entity bean that is used within the Fascade ?What happens when the Session Fascade starts a transaction ? Does the Entity ...
180 byte By
MoO_coWa at 2007-9-28 17:24:16
I was just wondering where I could go to look for some AI information. Im not looking for anything super crazy and big, but im not wanting the very basic either. Thanks alot
hey need help with this error. building a web application, everythings runs fine.specs-uses stateful ejbs-using jboss-apache tomcatnow i have a specific bean that opens a connection to our mysql db, and a reference to this bean is passed around.it works fine, however about 15 mins after ...
1) I have been writing an RPG for some time using j2sdk1.4.1_01 in windowsxp, The main component I'm drawing on is now a Canvas but was originally an Applet, Which is a better choice to use? I am using a double buffering system with VolatileImage and Fullscreen Exclusive mode with a Frame at ...
Hi All,Here is a scenario where all the books suggest. but i dont understand why it should always be like this only. Can any one explain me why is it so.The scenario is something like this. The Entitiy bean take it a BMP or CMP bean not always be accessed directely, instead the Entity bean will ...
Here's my game 'Upload' ready for testing & playing. If you like some mindless buttonbashing, check this out:(Windows installer with VM included) http://www.pindakaasenpasta.nl/Upload%20Installer.exe(Windows installer without VM, game requires ...
Hi Guys, How trustworthy are EJBs when working with Singleton Patterns? 齝ause we've got problems with deadlocks and we thought it could be because of that. Now we're using JBoss 2.4.10. Any idea? Thanx a lot 4 any help.
554 byte By
SairamSa at 2007-9-28 17:36:12
hii,i am using jboss 3 and have problems with cmr..the problem is that jboss creates a column for each cmr field in the table.a column in the dependent table is also created with name mainTable_columName.how can i avoid creating cmr columns during deployment..aslo where can i specify ...
207 byte By
daibhada at 2007-9-28 17:36:49
Hi there. I'm doing a project involving Real Time Java. I was just wondering if anybody could point out some mathematical algorithms that are computational intense to perform?ThanksEric
598 byte By
paan130a at 2007-9-28 17:39:09
I'm working on a large project and having a problem about writing an event listener in my application. There are so many swing components and writing an event listener for each component is time consume. So I'm planning to write an adapter class for all or most of my swing components and I ...
159 byte By
JSarmisa at 2007-9-28 17:39:42
Hello!I have a question for this community: which is the best implementation of J2EE Specification ?And what implementation does use Sun ?
419 byte By
fs88a at 2007-9-28 17:40:20
Hi folks, I've got a serious(for me) problem. I have to create figures like tetris figures with rectangles. From another class I get relative coordinates like int[] i= {{0,0}{1,0}{2,0}} etc. At each of these coordinates should an instance from my class rectangle show up so I got a figure.My ...
486 byte By
ptom98a at 2007-9-28 17:40:23
Ive been looking into polar coordinates for some time now, but i have little luck understanding what is actually happening.Im not particulalry good at mathematics (which i think is half the problem), but i cant seem to find any tutorials that sit down and actually tell you what the code is ...
109 byte By
Xover85a at 2007-9-28 17:41:36
Is java capable of coding 3d gaming? If so wat api must i import? or is there ani special codings....?
358 byte By
nilrema at 2007-9-28 17:41:54
Could somebody show me the most basic way to incorporate an audio file into java. i know the extension must be .auI can do it with no problems using an init method but I am still not sure if is possible to run with an application with a main method. I keep receiving the error "The method ...
I have noticed that if I set my device to anything less than 640x480, The mouse thinks the screen is larger. You can drag the mouse like a whole 3 inches off the bottom of the screen which should be impossible, any way around this? A resolution of 512x384 really beefs up rendering ...
110 byte By
Xover85a at 2007-9-28 17:44:52
Where can i find tutorials on game development? or is there ani websites where i can find sample codes?
i have made up all the separate pages for my game including the buttons but i cant get the program to move to a new page when the apropriate button is clicked eg. back to home page when home page button is clicked.I am using the "public Boolean action(Event evt, Object arg)"with the "if/else" ...
276 byte By
Dante84a at 2007-9-28 17:48:02
I need to work with binary files in java and i don't know how if you know please send me an e-mail to claudioga@icqmail.comwhat i need to know is: how i can creat a new file , how can i add strings to this file and how can i show that strings...thanks...
390 byte By
fadlyra at 2007-9-28 17:48:34
Hi all, Anybody know any good worfklow management software out there?If possible free open source products, and already used in production environment.I've researched some open source workflow management products, butso far they are not stable enough.Thank you for your kind ...
My game is running in fullscreen exclusive mode but I need to open the occasional dialog box which new shows in front of the fullscreen main frame. Is there any way of making popups such as Dialogs or other frames appear in fullscreen exclusive mode?
210 byte By
armca at 2007-9-28 17:50:55
Hello everyone, I would like to ask some one to help me in developing the code for finding the 4 neighbourhood of a pixel in an image. any code or idea will be appreciated . thanks a lotram
Hiplease can someone help me for this algorithm.The problem is the classic graph coloring with the condition: two adjacent nodes do not have the same color and any vertix has a list of admitted colors.thanks a lot
I have a basic outline of an algorithm that produces combinations of 1-8 but I would like to produce the combination 8C3. What changes need to occur with this problem to get the answer that I'm looking for. Your help will be greatly appreciated. Thanks a lot.import java.io.*;import ...
I was just wondering if anybody knew of any tutorials that might aide me in my program. what i want to have happen is as follows:i want the client, upon running to search for any IP address that might be running the appropriate server so that it might be able to connect to it, and then i want ...
240 byte By
Boz-Leea at 2007-9-28 17:56:05
Hey guys a simple question for you all, I would like to rotate an image as by using the LEFT and RIGHT keys, moving up,down sideways aint a problem but just need this one out the way...Any response is appreciated thank you...
I met a problem inolved in the algorithm of XP to gengerate the unqiue code in the world.Could anyone help me for the docouments of the algorithm?Thanks fo your help!
I feel so dumb now because it's so obvious!My game paints a premade jpeg image onto the background 350x350 in size,and for some reason I never thought of removing the now unessesary gBuffer.clearRect(0,0,350,350);I don't need to clear the whole screen because anything that was painted before ...
Hello.I am not expert in DAO.Should DAO be application specific or not?I mean: the Abstract DAO Factory has all abstract methods to give DAO Objects. e.g. getCustomerDAO(), getAccountDAO() etc... (Banking application). But, can I clutter up Abstract DAO Factory with such more methods from ...
for some reason when i try to add a pic to an applet thats inside a package it cant find it . the pic is inside the images directory ,its a very wierd and suppose to be simple problem but i simply cant find the problem.
456 byte By
Yjavaa at 2007-9-28 17:58:45
I have a JSP page, which allows the administrator to create a new student. When the administrator enters the student information (e.g., studentId, name, address, dob, etc.) and press the Add Student button, it write the information into an Oracle DB with an INSERT SQL statement. One of the ...
I got an interesting question here.The game im developing has progressed nicely. The rendering thread does all the drawing operations on a global Graphics object which is drawn on the screen after all operations in the thread are complete, and repaint() is called.I recently added an image to be ...
472 byte By
joaoggpa at 2007-9-28 18:00:12
I got an aplicative, which has a chart with several waveforms.By pressing the mouse right click, a vertical cursor is shown on screen (which would be a drawLine). This cursor slides horizontally over the chart. I would like the cursor to show on screen the coordinates of its intersection with ...
bean> </weblogic-ejb-jar> Inside META-INF directory in test0EJB.jar there is this manifest.mf:Manifest-Version: 1.0 Created-By: 1.3.0_01 (WebGain, Inc.) Class-Path: test1EJB.jar When i execute my client, test0 work but when he call tes1 i have this error:java.rmi.RemoteException: EJB ...
hello friends can u help me how to convert a java program to C or C++ or assembly program .I have tried Harrissa,toba and JCC they are running properly if anyone has used it please inform me and help me how to do this .. my email is pradeep_029@rediffmail.com
I'm working on a method of an EJB Session Bean. This method has to update data through entity bean (kind of update(...data...) method). When I was trying to update data through this method by using data that cause "SQL unique constraint exception", I got SQLException throwing out.... but what ...
324 byte By
GniBa at 2007-9-28 18:02:44
Ok I am making a snake game and I am making it so whenever the down key is active the snake moves 16 pixels. Same applies to all directionsMy problem is that it goes VERY FAST. How can I get it to slowdown so it still moves at 16 pixel intervals but it doesn't go so fast? This is an applet ...
Hi,First, I am an experienced Java programmer who would like to start up a business. I would like to find a good Java programmer who can handle the front end design and implementation for web applications. I have extensive experience concerning server side design, APIs, EJB's, Databases, ...
164 byte By
Xover85a at 2007-9-28 18:07:15
is there ani application we can use to create 3d graphics or iszzit that we hard code e graphics for java?hehe....and can name me some sound editor...
Hello folks, I'm currently searching tools for model-driven application development. I've already started to evaluate few tools (For example http://www.arcstyler.com), but in order to get wider perspective, I'd like to know about as many tools as possible.Unfortunately there seems to be only ...
HiI am preparing for a certification exam. I have doubt about this question. Please help me. Please let me know the correct answer=======================================================================1. Part of an application's business logic is implemented using a limited setof connections ...
63 byte By
thejawaa at 2007-9-28 18:09:58
Where can I find it? What skills to have?Regards,
63 byte By
thejawaa at 2007-9-28 18:09:59
Where can I find it? What skills to have?Regards,
410 byte By
visata at 2007-9-28 18:10:41
Hi everyone!As i surfed to http://java.sun.com today i saw the "GAME API" in the Highlights section. After a closer look i realized that this GAME API is designed for MIDP - useless for me because it has its focus on wireless devices.Now my questions: Are there official (sun) or 3rd party game ...
101 byte By
iamyessa at 2007-9-28 18:11:19
hello everybodywhat are the difference between the FactoryMethod and abstract_factory ?
1746 byte By
qkang98a at 2007-9-28 18:12:59
I have a servlet to process the login request. The user name and password are passed to one MessageDrivenBean from the servlet. And from onMessage() method in the MessageDrivenBean I call Login CMP bean to verify the login information. If Login information exists in the database, return true, ...