A surprising exception when call the EJB

1072 byte By youniea at 2007-9-28 6:06:34
OS:Windows-2000J2EE-Server:J2sdkee1.2.1Database:SQLServer-2000The CMP-beanUserEJB has been deployed successfully.Main client program:UserHome userHome=(UserHome)PortableRemoteObject.narrow(objectRef,ejb.UserHome.class);User user=userHome.create(userid,password,name);When running the client ...

what is Rational's RUP ?

245 byte By Sangitava at 2007-9-28 6:08:12
Iam new to learning RUP ( Rational Unified Process ) and i was a little bit confused while reading about it on rational's site. Is RUP a concept OR is it a tool OR both OR what ?Iam confused, can anybody help.Thanks,

Word List

207 byte By JTeena at 2007-9-28 6:13:18
I'm thinking about making a word puzzle game, but I'm wondering where I can get a list of words so that I can check if the text a user enters is a word or not. Does anyone know where I can get this?

Design Problem -- Text-based VR and object type casting

2512 byte By spacebabya at 2007-9-28 6:14:18
Greetings:I am trying to write a very simple text-based VR project for a data structures class I'm in. The basic outline:I have written a GenericObject class that basically handles a few variables like a physical description of the object, its location, and some methods that allow the player ...

reverse order of numbers

285 byte By nrlza at 2007-9-28 6:14:28
Does anyone know a mathematical equation that can reverse the order of digits in a number. An equation that avoids loops and is completely mathematical (avoid conversion to Strings).e.g.,(int)1654 (one thousand six hundred and fifty four) to(int)4561

Recursive print / overwriting output-file

1167 byte By juantindoa at 2007-9-28 6:15:45
Hi there,at the moment i am doing some research to Genetic Programming. I have implemented some expression trees ((a + b) * c) but have some problems printing the tree. Therefor i use a recursive method like tihs: public void printInOrder(){ if(left != null){System.out.print(" ...

Compiling Java to Native Code: Answer to Zyphrus

1996 byte By ddanielvalladaoa at 2007-9-28 6:18:32
I was really wrong when I took Jeffrey's thread to talk about this subject...Well, I'm not saying that Java programmers should deal with low level stuff when I said that Java is slow and that a cross-compiler, at least, is needed. And I don't want "1000" classes for one. That's not the ...

Unable to load class... .sprite

553 byte By mi6agent56a at 2007-9-28 6:18:45
Hi, I am trying to run a simple MIDP 2.0 program on my Samsung N400. I just want it to play 5 *.png's in succession. The program works in the J2ME Toolkit emulator, but when I download it from my phone and run it, I get the error message "Unable to load class ...

How to get the image pixcel

272 byte By manoj_csa at 2007-9-28 6:19:42
hi.. i have created a GUI for gaming purpose.image are in recangle shape.. i,e brick type..when i clicked on the screen a ball start moving to the top..but i am not able to trace the existing pixcel of the brick..pls help me out..

application game and keyboard help

373 byte By zuloa at 2007-9-28 6:21:50
hiI am trying to make a game for the 4kb contestbut I cant get the keyboard to work. I have onlyprogrammed applets before and it seems theres not the same way to use a keyboard in applications?does anyone know what to do to get keyboard inputin an application? the game uses fullscreen in java ...

animation tiles

1207 byte By zainuluka at 2007-9-28 6:22:45
Hi, i want to make a character move with animation and aim doing it by have a large sheet of framed animation characters. This Image is then broken up into the individual images and later used for animation.can anyone help me with it.the code below was created by me to do this however I have a ...

Questions about Sprites

519 byte By bh94704a at 2007-9-28 6:22:49
Hi, I'm writing my first Sprite-oriented game, and I've read a bunch of posts on this forum on the topic, but I still had a few questions. Thanks very much for any answers.1. I've seen single-thread sprite engines that handle animation only. Is there a way for a single-thread sprite engine ...

TOTALLY FRUSTRATED: can't get my animation to work. please help!

10822 byte By pars40a at 2007-9-28 6:22:50
I'm trying to make a pacman game. At the beginning I had everything in one file, and the program worked fine. But since the code was getting big, I decided to break the code down into two files (see the codes below). The first one handles pacman animation, and the second file paints it to the ...

Why Random() produce same random number?

263 byte By ckminga at 2007-9-28 6:24:33
i have used Random() method to display my graphic(few of it) randomly which i used loop with it. but all of the random number created are the same. why is this happen? this cause the graphic overlap each other and i can only see juz 1 graphic...help plz...

why ain't my keyboard left/right/up/down button respond?

171 byte By ckminga at 2007-9-28 6:24:37
why can't VK_left work for left button on the keyboard?(same apply to othe 3 direction button)please show me the proper code to use the direction button....

My Game API

2843 byte By tswaina at 2007-9-28 6:25:09
I just discovered this Forum and couldn't help butmention I have been working on a game API since early97.I am still working on it (doesn't pay the bills)However, I think I have the absolutely most efficientand robust API for games for many many reasons.1- 100% double buffered graphics.2- I ...

general design doubts

967 byte By mohdja at 2007-9-28 6:28:22
Hi,Can anyone answer the below general doubts. Thank you1 How to draw the sample architecture diagram of a shopping cart what should we cover in the archetecture.2 If classA creates classB then should we show that as dependeny relation or as association relation.3 In ejb uml diagram service ...

need help

169 byte By cratnawata at 2007-9-28 6:30:01
I want to develop kids softwares using java.I am new to software development.Can any one suggest me how to start and any online sources.thanks in advance.

Mazes

599 byte By javatypoa at 2007-9-28 6:30:39
Hey ppl.. (i think you all ppl)I was think of testing out my 2d rendering engine by making a PacMan sort of game with it.So I was think about how to do this when I thought "How would I implement walls?" Then I thought "And the dots the the guy must eat? How would I get those to be aligned ...

Basic Stuff, MouseListeners etc.

469 byte By Shamisa at 2007-9-28 6:31:39
Hi, I am in a high school CS course and I am making a game, I have learnt how event handling work but you need to implement an interfaceMy game already has the interface runnable and it extends appletHow do I go abouts adding a mouselistener to my code?I want it to run a shot method when i ...

MVC for Application Client (as opposed to web client)

3674 byte By cyboca at 2007-9-28 6:31:53
In the application we are building, we have decided to use an application client instead of a web client. We have many reasons for this:1) The application will only be used internally on a LAN by a small number of users.2) We wanted to utilize the power of the rich controls provided by Swing.3) ...

List classes in package

462 byte By kpaulsa at 2007-9-28 6:32:15
Is there a JSR for listing packages within a class?For example, instead of writing an algorithm to disect "java.class.path" list all the files and stick them in a map, the ClassLoader could do this as classes are created. Such a document would also suggest functions simmilar to String [] ...

applet dosen't seem to work with IE

701 byte By Polo127a at 2007-9-28 6:32:16
I designed a game on my webpage on a geocities site. I used Forte as my IDE, I written it with applet, I set up everything properly and when i run the applet from Forte it worked perfectly. When i go to my website it would have the main menus and all the buttons loaded properly. BUT when i ...

Bean Managed Persistence Problem

503 byte By J2SDKa at 2007-9-28 6:32:41
Dear FriendsI have faced a problem when trying to conect with Oracle 9i database.I have set the Config/default.properties in the following way :- jdbc.drivers=oracle.jdbc.driver.OracleDriverjdbc.datasources=jdbc/Oracle|jdbc:oracle:Stud where 'Stud' is the DSN I have created with Oracle9i ...

Java Joystick Interface

583 byte By SoftToucha at 2007-9-28 6:33:49
Hopefully this is the right forum to post this request.I've occasionally been working on a Java Joystick driver interface for a few years now. I released my open source code in 2000, and I figure that it's been working pretty well for me and a few other people since then. I was hoping to get ...

Check out my Tetris-game.

160 byte By andreeidea at 2007-9-28 6:35:27
http://javagames.net/nsgame.jsp?id=12The gifs don't work in Opera. Does anyone have any clues to what I might be doing wrong?Andre E. Eide

i am developing chess on MIDP

507 byte By adeel_sadiqa at 2007-9-28 6:37:28
i am developing Chess game on mobile devices. i am facing very problem as i ve number of user interfaces , and i want to navigate the screen betweenthese interfaces. when i create the object of any midlet and try to use setCurrent mathod acception occures.My other problem is that i want to use ...

Getting the size on the screen

509 byte By pommyJavaa at 2007-9-28 6:40:47
I making video games, its a good idea to make the gamesplayable on any size on screen or montior. Im trying todo that. What Im trying to do here is: when the game startsthe program check what size screen the computer has, and then open a window to that size. Does anyone know how to do this?Im ...

Lists In Java

202 byte By Proroka at 2007-9-28 6:41:01
Some people don't know how to make linked lists and binary trees. mabe some of move advanced programers will share thei knowlange aboute best solutions building tree structure an list structure.

how to detect a disconnection from Socket()?

206 byte By ckminga at 2007-9-28 6:41:47
if i connect a server and a client using Socket(), how do i detect if the client/server is disconnect? using soTimeOut?or by the catch Exception?....kinda need the solution in hurry......plz help....

VB verse Java

1167 byte By madcompnerda at 2007-9-28 6:41:55
Well, I supose that's an attention getter at least. But I have a related problem. I wrote a program a while back in Visual BASIC which did a simple unicode encryption. It took a password and added the value of letters within your password to the value of letters within your message to be ...

Question About Graphics.setClip()

576 byte By bh94704a at 2007-9-28 6:42:22
I'm using the Graphics context of a Component.createImage() Image to do double-buffering. (I'm not using a BufferStrategy because it isn't that heavy-duty a game and I want low-end machines to be able to run it) It's a Diablo-style roam-n-kill type of thing. I don't want Sprites beyond a ...

Using Struts for web tier of a J2EE application

416 byte By souravm00a at 2007-9-28 6:45:46
Hi All, As I know, Struts is mainly used for developing web applications. However, people are also in opinion of using it for designing web tier of a J2EE application. Looking for your comments on using Struts as the application framework for web tier part of a J2EE application. An analysis on ...

Nokia 7650 drawing color string problem

231 byte By GaryWua at 2007-9-28 6:46:40
When i try to draw a string or character on Nokia 7650, i set the color of graphics, but the color of string and character is always black when i drawing. Is there other method to draw color string on an image on nokia 7650?

invocation of other class

133 byte By roneypatela at 2007-9-28 6:47:17
how can i run "main" method of other class ,that is not located in present working directory,in my running application?

How do I detect a User interaction?

640 byte By johnnyr77a at 2007-9-28 6:47:22
This question arises more out of curiosity than necessity. Let's say I wanted to create a Java version of the board game Risk. Let's also say I have an image of the board (a map of the world). How would I be able to tell in which terrritory (country) the user clicked?Would I have to declare ...

Programming for a phone - Where to start?

374 byte By simon_orangea at 2007-9-28 6:47:37
I am happy with programming with javaBut never done anything with a phone.1.Is there an API to follow (different for different phones?)2.How would I then upload the program?3.Can I change current programs?4.Can I write games for my phone?5.Where do I start? Are there any tutorials? ...

whats out of memeory

544 byte By zainuluka at 2007-9-28 6:48:22
Hi, I am trying to make the background of my game using tiles of small images. However I get an OutOfMemoryError, and it doesn't give the reason for why it does it...because I also get a "no stack trace avalible " message too. Anyone know of the possible reasons for this problem. then number ...

Saving to a file

202 byte By Jshrubba at 2007-9-28 6:49:03
i was wonder how (in an applet game) you could save the score that a user recieves to a file that can be read by an internet language (PHP).e.g. for a high scores list.thanks

Question

234 byte By swarsiwa at 2007-9-28 6:52:08
Hello to allI working on browser base cards game by servlet.. I have following questions1- Is servlet are best for online cards game2- How to i update my little part of the web page thankx in advance

Help to program games!!!

356 byte By bilma_5a at 2007-9-28 6:54:17
I am trying to make a Tetris Game, but I need some help to start.Maybe someone can tell the guidelines to start or at least how can I make appear and move a figure (for example a square)in a panel once that the panel is load.I would also like to know if there is any documentation or API to ...

i try to create a game, but i got problems yet

6118 byte By JReda at 2007-9-28 6:55:04
Hello, thus I has again times tries a play to program. And I want to bring that also times to the end. It is stop a play like we it all from the Intro of Ridge Racer 1 or also from our Nokia Handy. Evenly, a play, in which one must settle other ships with a small spaceship, around itself the ...

EE vs. SE

189 byte By 8infinitya at 2007-9-28 6:57:05
hi everyone,I've been primarily programming in SE. What are the benefits of using EE? Are all the APIs the same? Will I have a hard time trying to convert? Thanks in advance.

Framework Development

463 byte By sriharmyaa at 2007-9-28 6:57:29
Hi,I am on a prokect which involves the development of a framework of Java class packages which implement services and features that support the rapid development of Java applications throughout the company.Can someone please tell me where I can find some info abt developing frameworks? any ...

Where to start in JAva game development

313 byte By Milesdoa at 2007-9-28 6:59:23
Hello i am Wondering where to start in game development.. if i have no java programing experince... if anyone could tell me that would be greaat... i.e. books that would bring me into it from scratch... or evan better onnline tutorials.your can emial me at milesdl@gwi.netthanx, Douglas ...

Can I create?

362 byte By ryuujina at 2007-9-28 6:59:26
Hi guys,Have a few questions,1) I have a drawing Panel, where I paint my squares and lines on it.. If i were to add a scrollbar to the Panel issit possible?2) And how can I do so? Even if I can do so.. I need to repaint the whole panel everytime I drag the scroll bar. is that rite? or it will ...

Static data sharing

806 byte By madanvishnua at 2007-9-28 6:59:29
I always thought that a object cannot be modified unless u have explicit referece(authority to modify)but the code below allows me to modify the property effecting all the objects ob the base class i doubt(Though i have no rights to say so)it obeys OOPs priciplesthe code for r4eferenceplease ...

BufferedGraphics

582 byte By RainbowEnergiesa at 2007-9-28 6:59:39
I got a code from a book, tried compiling it...I knew the problem is about BufferedGraphics but don't know how to solve. I will appreciate if anyone can help me solved it. :-)The Errors occurred are:C:\ActorTest.java:14: cannot resolve symbolsymbol : class BufferedGraphics location: class ...

Where can i download materials about UML?

10 byte By waterhilla at 2007-9-28 7:00:48
Thx

ServerSocket at user's computer

602 byte By RollWhisTlera at 2007-9-28 7:00:54
Hi all!!I'll try to explain my problem...i want to make a multi-user game using internet...I've made a chat where people will meet, then i have a server and several clients connecteds to it...What i want to do now is to establish connection beetwen two clients to begin a game without use my ...