Big O information on java.util.*

347 byte By nanabozoa at 2007-9-28 13:37:31
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 ...

use case diagram from a novice

1162 byte By sn_chandana at 2007-9-28 13:38:00
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 ...

URGENT: I need your help with Reinforcement Learning

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 ...

Diff between framework and design pattern

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.

Frogger Game

87 byte By Nicotrela at 2007-9-28 13:41:02
http://members.shaw.ca/gogooguy/index.htmlcomments? suggestions?:)

faster copy files algorithem

981 byte By aragon28a at 2007-9-28 13:41:07
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 ...

Encapsulation, OO advice needed

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 ...

Providing JVM for .NET CLI

608 byte By intangira at 2007-9-28 13:45:09
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, ...

Please help!!!!

510 byte By javakid17a at 2007-9-28 13:47:46
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 ...

searching algorithm

271 byte By laasundea at 2007-9-28 13:50:17
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.

Challenge!!

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 ...

New Student Request

524 byte By stratoghosta at 2007-9-28 13:51:28
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 ...

New Student Request

524 byte By stratoghosta at 2007-9-28 13:51:29
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 ...

Design UML !

1986 byte By stomridera at 2007-9-28 13:51:30
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 ...

J2ME Problem : how i can draw image in command area to nokia t720

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 ...

Print quickly an image file

215 byte By simone_realia at 2007-9-28 13:52:49
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?

Drawing on top of a gif image.

512 byte By darrinpsa at 2007-9-28 13:54:38
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 ...

Recommendation for algorithm references

294 byte By SciEstPota at 2007-9-28 13:55:45
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.

Check out my new game!

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 ...

tile extractor

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

Student needs help on senior project

711 byte By mikeni1225a at 2007-9-28 13:57:31
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 ...

Help!!......I need help with an algorithm!!

1858 byte By MUGGINS20a at 2007-9-28 13:58:13
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 ...

resources to electrical/power algorithms

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!

Failed Calling Session Bean from JSP

4356 byte By jingz_sza at 2007-9-28 14:02:33
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> ...

Getting an Object Identifier String given a line of source code? HELP!

2177 byte By mightymightyeddturnipa at 2007-9-28 14:02:43
(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 ...

Want to test bricker2 tech/demo v0.2?

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 ...

online java game tutorial

364 byte By mark_aoka at 2007-9-28 14:03:44
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 ...

confused over relationship between actors

486 byte By sn_chandana at 2007-9-28 14:04:05
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 ...

java.lang.NoClassDefFoundError.AbsoluteLayout?

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 ...

Moving like in a 1st-person-shooter

512 byte By agabus18a at 2007-9-28 14:05:09
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 ...

Java game networking question, please help

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 ...

Looking for an integer linear programming package in Java

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?

Movement with the keyboard

288 byte By IIIIIIlla at 2007-9-28 14:11:20
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?

Music in Java

592 byte By musicguypetea at 2007-9-28 14:12:20
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 ...

MVC concept ?

170 byte By patelashish_2000a at 2007-9-28 14:14:10
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...

Specifications for designing and coding

228 byte By johnmphillipsa at 2007-9-28 14:14:35
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

Color Dialog

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 ...

Java Game Help

350 byte By davidrdostera at 2007-9-28 14:17:29
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 ...

Java Game Help

350 byte By davidrdostera at 2007-9-28 14:17:30
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 ...

Keyboard Scroll Rate

253 byte By IIIIIIlla at 2007-9-28 14:17:35
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

Multiple key pressing

179 byte By IIIIIIlla at 2007-9-28 14:17:46
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?

portal design - please help me

505 byte By prabhakardhatarama at 2007-9-28 14:17:56
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 ...

Help USB?

472 byte By tag_pramoda at 2007-9-28 14:19:07
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, ...

New to Java Game Development

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

Settlers of Catan - Longest Path in graph.

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 ...

Sprite animation

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 = ...

Question about DAO and DataSources?

553 byte By xdlilinga at 2007-9-28 14:23:12
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 ...

Moving pieces on a board for chess/checkers

591 byte By johnny_p_007a at 2007-9-28 14:24:39
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 = ...

James Odell's Power Types

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?

Frame Animation

188 byte By IIIIIIlla at 2007-9-28 14:27:21
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?