I am a programmer at Axa and me and my team have an interesting question for you.Where can I find the Big O for every method in the package java.lang.util. I don抰 understand why there is no javadoc tag for this crucial information. How can I be absolutely sure that methods of the ArrayList ...
hello to all,i have made a use case diagram for a UML diagram editor. i want to implement only the use-case diagram and class diagram in the editor.the diagram is completely unrefined.kindly comment over the same and suggest for a better use-case diagram...this will greately help me in my ...
1038 byte By
pars40a at 2007-9-28 13:38:15
I am badly stuck, and if anyone can help, I'll be eternally grateful. OK, I am working on a pacman game, I have almost done the GUI (interface), and now I am working on the AI. I am using Reinforcement learning as AI for the ghosts. So at the beginning, the ghosts are dumb and just wonder ...
140 byte By
c_kamsa at 2007-9-28 13:40:52
Hi,Can anyone plz tell me clearly the difference between a J2EE desgin pattern & a J2EE framework.Thanx in advance.
http://members.shaw.ca/gogooguy/index.htmlcomments? suggestions?:)
Hi all expert,I am writing a method that copy a file to another location.My case need to copy many large size files at one time, i think my algorithem is quite slow.Anybody could modify my algorithem to make it as fast as possible ?My algorithem is as follow, it is simple:public void ...
2423 byte By
fedetxfa at 2007-9-28 13:45:01
We are developing a java application to run on a PocketPC. There's a relational DB, and the objects come from there but we are not using a Object Relational mapper... We are using a simple framework taken from an article here http://www.javaworld.com/javaworld/jw-05-2002/jw-0524-sql_p.html so ...
I think it would be a chessmaster move if Sun develop and provide a JVM that runs inside .NET CLI (Common Language Infrastructure).Such VM could use some features of .NET, such as the Jitter and the Garbage Collector.A more agressive move would make Java use COM+ in the RMI/JNDI implementation, ...
Hi,I have never used java in my life(no really, nothing), and for my computing project at school I have to write a game in java which contains a login page and a score board.I've managed to create username and password login boxes but im really confused about how you can put them together and ...
I've been trying to figure out how the interpolation search algorithm works. Was wondering if anyone could direct me to a explanation or a code example. I'd be interested to see a comparisson between interpolation and binary searching.Appreciate any help.
339 byte By
Grmbla at 2007-9-28 13:51:14
I am looking for a functionA simple function which is like the normal drawEllispeBUTit needs to output the Ellipse in an array of points.I've been looking for several hours for this but i can't find anything anywhere... please if somebody knows something about this or knows where to look, let ...
This is my first post on this forum. I am a student working on my Computer Science degree. I am looking for an example of source code for a game created entirely out of Java. I want to be able to compile and run the code so that I can make changes to see what happens. I would prefer an action ...
This is my first post on this forum. I am a student working on my Computer Science degree. I am looking for an example of source code for a game created entirely out of Java. I want to be able to compile and run the code so that I can make changes to see what happens. I would prefer an action ...
Cam anyone help me to design the UML for this project ? Thanks a lot !In your co-op job as an Operations Analyst for United Parcel Service (UPS), a large courier company, you have been asked to develop software that will assist the company in choosing routes for its trucks.Each truck leaves ...
452 byte By
bacsumua at 2007-9-28 13:52:22
hi therei'm korean ... my english expression is poor...but i don't find the answer anywhere.. so i write this questioni'm programing game on j2mei want draw image in command areahow i can draw in command area...please help me...ps : who i can see written replay of this question?i'm write ...
I print an image file with classic method (Make a Book object and send it to a PrinterJob) but the program send to the print 11 MB for each page.How can i print quikly an image file in another method?
I need to be able to have a JPanel that holds a .gif image, have another JPanel over top of it that can be drawn upon. An example of this is placing a map on a table and laying a piece of clear plastic over top of it, then drawing on the plastic the route you want to take. Just as in this ...
I stumbled on a book by John Horton Conway, "Winning Ways".He had an iterative solution to the Tower of Hanoi puzzle. Could someone recommend some other interesting algorithm books?I'd prefer your comments, rather than links to search engines or book sites, thanks.
630 byte By
Dantrea at 2007-9-28 13:57:01
Hello everyone. It's been a long time since I came here, and even then I only visited for a short time. 6 months ago I had made a maze game with randomly generated mazes, for those who were there at the time.Well, I made a new game. It's a RPG called 'Dungeon Tales', although it reused a ...
298 byte By
luisofta at 2007-9-28 13:57:11
Hi,I have an image and I want to make a tile extractor program that extracts retangular portions of this image, like 16x16, 32x32.After extracting all tiles I want to save only the diferent ones to a new image.Does anyone here has done something similar?Any
My problem is i need to figure out how to make an online game, where a running program is running on my server that allows people to create games on it and invite other players. If other players accept they will be redirected to the game. If they reject or are away from their keyboard, it will ...
My application displays graphs from given data and I need to somehow get it to show between 8 and 12 tick marks on the x and y axis. They also have to be rational values i.e. 120.0 130.0 140.0, etc not like 120.25432 or 132.5363 or 143.94. The program can put the tick marks at regular intervals ...
158 byte By
owsa at 2007-9-28 14:01:51
Does anyone has any links to algorithms for topics such as power, load flow anaylsis?How to go about having inverse matrix in java?thxk!
Hi, Could please anyone help me to resolve following question? Thanks in advance![Question Description]I have a session bean, which uses a lot of entity beans, and I have successfully called the session from another test bean. The session bean is created as following:<session bean> ...
(forgot to close the code tag on that last one!)Hi there,I am in desparate need of getting the object identifier given a particular line of source code. I need this for the debugger I'm writing, and since the jdb forum never gets reponses; just more unanswered questions.Right so, here's my ...
960 byte By
zuloa at 2007-9-28 14:03:41
Hi!This is the game I have been working on the last month.It's going to be a breakout-type of game, but now its not playable(you cant move the paddle)I hope you guys want to test it and give me some comments,especially on the speed of the ball,since its slow because it moves only 1 pixel at a ...
Hey everyone I'm new to java game programming, and I'm wondering if anyone could recomend some tutorials on game programming, mainly 2D. I understand some simple double buffering concepts but stuff like Volatile Images and pretty much every other animation/graphics operations im not too ...
hi ,i have three use-case diagrams having 1 user each who are actually the same actor. they are designer, usecaseDesigner and classDeisgner. i want to show the relationship between them.what relationship do they hold? will it be generalization or trace relationship.i have a uml diagram editor ...
447 byte By
qnzua at 2007-9-28 14:04:15
I install " Sun ONE Studio 4 Update 1 Enterprise Edition " . I run "JApplet"( programname ) with this forte4 successfully , but unsuccessfully run "JApplet.html" with IE5 . I get messege of errro : " java.lang.NoClassDefFoundError.org/netbeans/lib/awtextra/AbsoluteLayout " .I find that there ...
Hi!Please help!I need Information about how to transform my 3d Scene. It schould be like in a '1st-person-shooter'. I've tried something with translation and rotation but it that didn't work correctly.It should rotate the scene in X and Y direction( with mouse) and translate it in z ...
1497 byte By
MoO_coWa at 2007-9-28 14:07:59
Ok, so im not to java and new to these boards and have a question about a game im working on. My game im working on is basically an overhead view of tanks, right now its pretty basic and I just have some blocks that shoot some projectiles but its set up to accept alot more. I know its going to ...
145 byte By
pythonea at 2007-9-28 14:10:00
Does anyone know of a Java package which supports integer linear programming that is either free or has a limited-time free trial version?
I am trying to write a game that uses the keyboard arrow keys for movement. By pressing and holding an arrow key, the object should move accordingly, however there is a short pause before the program recognises that the key is being held down, is there anyway to remove this delay?
Hello there,I'm not sure if this is the correct forum for my question, but i couldn't find a dedicated forum for music in Java.Im interested in writing a small applicaton that will create a guitar distortion effect. The aim is to be able to plug my guitar into my pc, press a button turning on ...
Hi I would like to know what actually is MVC architecture and when & where to use this ?Any example would be handy ...Thanks in advance...
Maybe a stupid question but is there any documentation out there that helps an engineer learn and use the best object oriented design techniques. Also, is there one available in the area of coding techniques.thanks
388 byte By
ptom98a at 2007-9-28 14:17:08
Im programming a game based around drawing, but i want a color picker dialog to appear, so the user can change color (like in Paint when you click 'edit colors').I cant seem a way to do this without programming my own color picker dialog, do any of you know if Java has a standard one built ...
I have a question. If you wanted to create a game with Java, would you have to create it so that it would be used on the internet? or could you create it so that you could play it off the internet? Also, could you provide me with a link on how to create a game off the internet? I was looking ...
I have a question. If you wanted to create a game with Java, would you have to create it so that it would be used on the internet? or could you create it so that you could play it off the internet? Also, could you provide me with a link on how to create a game off the internet? I was looking ...
Can anyone help me get rid of the delay when you press and hold a key on the keyboard? im looking for movement similar to the movement in this game ..... http://www.neopets.com/games/draikcastle.phtml .... dont be afraid to click and play. Thanks
I am trying write my program a game to respond to a 'left arrow key' press and an 'a' key press differently than a 'left arrow key and a key' press. is this possible?
i have involved in designing a portal i got the specifications and i need to develop this usding jsp, servlets and mysql as backendi have started designing with uml use case diagramsplease any one help me how to proceed nextin designing what are the steps (drawing uml diagrams) to follow next ...
Please Help Me, I am new to USB , I want to develop an application which will communicate the Phillips PDIUSBD11 USB controoler chip.I am using windows 2000, I have downloaded the javax-usb_0.10.0but did not find any jar file in it, and it seems to it is for Linux only,Please help me for that, ...
217 byte By
gmm2064a at 2007-9-28 14:19:08
Hello All,I have been into Java for about 4 years but have never done games with it... this sounds interesting to me... can anyone tell me how to start developing games with Java?Thanks in advance
533 byte By
Cdomscha at 2007-9-28 14:20:13
Hi Guys.Maybe some of u know a good implementation to this algorithmic problem. The problem itself seems to sound simple. Find the longest, circle-free path in a graph. That is, taken from "Settlers of Catan", find the longest road of a player.I dont know how to solve that, and from searching ...
632 byte By
folkenfa at 2007-9-28 14:20:28
Hi.I am quite new at programming Java for games. I would like to perform an animation when moving my character.I tried this : public void moveToRight() {Image[] animationImage = mainPanel.moveToRight();for (int i = 0; i < animationImage.length; i++) {mainPanel.x += 8;mainPanel.sprite = ...
Is it necessary that a DAO is associated with several DataSources?In general, a DAO serves as a business object. But what is your idea if you find the data of the business object come from two data sources? Just associat the data sources with the DAO? or split the DAO into two layer: two DAO ...
I'm developing a game and need to be able to move pieces along a board, i want to use click to select a piece, and click to place a piecenot the drag and drop method.I have done the normal Column and Row =selected Col + Row, with an arrayboard[row][col]and the move.toRow, move.toCol = ...
264 byte By
bblfisha at 2007-9-28 14:26:14
In chapter 2 (Accountability) of Martin Fowler's Book "Analysis Patterns", Martin mentions James Odell's Power Types. I have been looking for more information on this and how it could be implemented in Java. Has anyone here come across Power Types?
I have a series of images that i want to animate onto a multi colored background, unfortunately the background of the images is white, and this wont quite work, can anybody help me?