Anyone knows how to run .class file in IE?

474 byte By icesainta at 2007-9-28 7:01:06
the basic html codes are <applet code="<filename>.class" width = 400 height = 400 ></applet>i have tried on applets and it works but i dont know why it does not when i am using JApplet with swing. i also have placed the html file in the classes directory. when i open IE to ...

basic designing UML/MVC

507 byte By to_suresha at 2007-9-28 7:01:39
I am working as a programmer with J2EE technology. Also I am trying to learn designing for last couple for months. I had gone through some material regarding UML/MVC. I tried to design a small module in rational rose. But I have problem how to proceed. I need some material which explains how to ...

best language for games

160 byte By qwwertya at 2007-9-28 7:02:11
Hello thereI am wondering what is the best language for computer gamesAlso what language are the top class games like fifa2003 developed in

Create J2ME games?

254 byte By mibuyta at 2007-9-28 7:04:07
Is there any good tutorial out there that teach you how to write games on mobile phones like nokia or siemens. I mean colored games. Please help. I am trying to find and having a hard time. Please Help.:DRegards,Chua Wen Ching

gamecube, xbox, ps2...But How?

435 byte By pommyJavaa at 2007-9-28 7:04:22
How do game developers get there pc games to work on a system with nohard disk/operating system. Im learning to program in directX, whichuses c++ and you need to have directX to run directX programed games correct? Even if you program a game in java, you'd need the interpetered installed on ...

How slow is java?

449 byte By oo0speed0ooa at 2007-9-28 7:05:02
I hear everyone saying that C++ is better to program because of the speed against java. But i've played some games made by people from this site, and there not that slow. How slow is java?PS. I also heard that there is a new game made by sun people, I think its an action adventure, online rpg, ...

Publish Subscribe Pattern.

286 byte By hommera at 2007-9-28 7:05:20
Hello All!My problem: A "publisher" which has a queue.Distributed objects (subscibers) which need to access this queue and obtain the 1st element in the queue.Do you think the Publish Subscribe design pattern is appropriate for this ?Cheers :)

Retrieving Pixel Data from an image

278 byte By ptom98a at 2007-9-28 7:05:43
Is there away of retrieving pixel data from an image without having to store in it array using pixelgrabber?i need to constantly check the color of a certain pixel on an image (which is constantly being updated) and using pixelgrabber slows the whole provess down.

How to implement Three Level Sort ?

586 byte By leena1005sa at 2007-9-28 7:07:07
I am performing a complex search and get a List of Object. Now, the problem is I have to sort this list in three levels. That is, If I have Object like this public class A { private String id ; // unique for every record private String attr1; private String attr2; private String attr3; private ...

OptionDialog-problem

3185 byte By JavaJanettea at 2007-9-28 7:08:02
Hi! I'm trying to ask the size of area of game with OptionDialog. Then thiscode should open the game frame. But the OptionDialog doesn't reactto clicking. (doesn't close). Could you find the errorpoint?I have trying to find it many days. Could it be probably so that the main-method can't ...

extract frequency from samples series

131 byte By strassaa at 2007-9-28 7:10:35
I have some series of samples of a signal, I would like to estimate somehow the dominant frequency of the signal. tnx

uml / oo design java examples

923 byte By cidermonkeya at 2007-9-28 7:12:41
Hi i was wondering if anyone could help me, i've been reading about uml and oo design with java for the last 4 months but cant seem to find many examples to work on.i've bought a book on uml, and got a load of slide shows off the web which explain the principles of uml and object orientated ...

Java concentration game

213 byte By vex_helixa at 2007-9-28 7:13:39
I want to design a matching game or commonly known as a concentration game. Can someone help me find me a site with sample concentration code? so I have an idea on how to implement.Thanks,Gant

New to Games

506 byte By DJava123a at 2007-9-28 7:15:39
Hi all,I have been programming java for about a year now and i have a fairly good understanding. But when it comes to RPG games i am so lost.Really the main question i need to ask is how do i make the "background move". Like in all the other RPG games, like i am walking and the back ground ...

Read session time out value

214 byte By petestampedea at 2007-9-28 7:16:30
Hi thereIs there a way to read the session-timeout value from the web.xml?<session-config><session-timeout>30</session-timeout></session-config>-thx

Java Sprites Engine?

400 byte By jdupreza at 2007-9-28 7:17:04
Hello,Does anyone knows of a Java sprites engine? Features I'd like to get out of the box are sprites animation and move, and collision detection.After searching this forum, I found a handful of good advice as to how to develop one by hand, but not any reference to an existing Sprite Engine ...

2D Matrix, Compacting problem

1170 byte By ronniebahlstena at 2007-9-28 7:17:32
Hi!I'm about to implement a matrix class that need som kind of "compacting" support, meaning:If the the following matrix (3x4) is compacted:[1][0][2][8][7][0][3][9][0][0][0][0]The resulting matrix (2x3)would be:[1][2][8][7][3][9]Column 2 will be removed since it's empty (only zeros)and row 3 ...

1.4 to slow....

93 byte By cispasoiua at 2007-9-28 7:18:45
My applet are running ok in 1.2 but in 1.4 they so SLOWWW...why ?catalin

fullscreen

139 byte By cispasoiua at 2007-9-28 7:19:09
how can I access the entire screen from j2me,in Series60, the size is 174x208 but the canvas is176x144 ?catalin

Playing Cards

104 byte By nji78a at 2007-9-28 7:20:23
Can anyone help me find a site where I can find a tutorial on creating card games like solitaire?

Page Flipping?

199 byte By pommyJavaa at 2007-9-28 7:22:45
Im trying to use a good way to use the video card memory formy games. Is this the best way to go? How do I use it? VoltileImage might me better, but Im not sure. Can anyone help me out?

creating a "play area" for a game.

1018 byte By huangjda at 2007-9-28 7:25:16
I came across this problem, and im not 100% percent sure what to do. Im not too familiar with the graphics functions in Java so maybe someone has an idea to go about about doing this. I need to create a 2d map (birds eye view). The map will be much larger then the actual viewing area, so when a ...

Advantages and disadvantages of UML

371 byte By mmartinha at 2007-9-28 7:25:41
Hi I wonder if u guys can help, I am interested in learning about modelling in general and I am trying to find information on the advantages and disadvantages of UML as a modelling language compared to other modelling techniques. I have only found small amounts of information on this. I just ...

please help - interesting multiple threads question

8548 byte By kevin_oua at 2007-9-28 7:26:38
hi guys,I am doing a multiple thread app. There is something in my mind and need your guys advice. Here is my question. Suppose I have a big array needs to be filled in, and I want to have several threads to do the work for filling in the data and one thread is to display the data. For example ...

server game....?

439 byte By annyssa at 2007-9-28 7:26:41
hi,from what i know, we need a web server like tomcat or blazix to make other people can access our web. but my problem is like this..... i develop a game programming that need a server to control the player, so that mean now i have 2 server...... but when people acces my web, they cannot ...

mouse updating super slow

317 byte By electric_monka at 2007-9-28 7:27:26
i am using mouseListener for the mouse input in a game, and if i task away from the applet, then task back, the mouse input dosen't quite recover, it fails to send the mouse events immediately, instead sends them in batches every 10 seconds or so.jvm version 1.3.1_03any idea what this might ...

Modulus

226 byte By javatypoa at 2007-9-28 7:27:42
Okay. The modulus is the remainder of a division operation right?Then that would mean that: 2 % 8 = 0 because their is no remainder.So how do you know in a game when the modulus will suffice?Thanks.

simple 2d mario bros-like game math problem

9618 byte By zuloa at 2007-9-28 7:27:54
hiim trying to make a small 2d game.It currenty uses a circle as the main character,and it draws 10 linesas the "ground"My problem is I want to just draw some basic lines or curves and let the main object follow these lines(so it acts like the ground)I think there must be some math function to ...

Collision methods anyone.

1087 byte By zainuluka at 2007-9-28 7:28:47
Hi, I am making a 2d platform game. Ok I use a tile class to display each individual tile for the background.below is how I display each tile in turn every frameGraphics g2 = g.create(x,y,_width,_height);g2.drawImage(_tileImage,-tileX,-tileY,null);updateBound(x,y);note the updateBound(x,y) ...

Plz dont waste ur time :Re: e-books on UML

563 byte By asharafkka at 2007-9-28 7:30:06
Hi,Plz dont post further "send to me too" queries to the previous post.let the thread owner post the link if he s got the book(or uploaded it to someother folders like yahoo brief case etc).otherewise let him get lost and we poeople better try to find a good/free e-book on UML.(hope somebody ...

Can I Get Some Answers

905 byte By rs_ancienta at 2007-9-28 7:30:48
I wana make a az-kickin game like runescape.com I dont really know nothin about nothin in javaI like runescape but andrew the creater is kinda a geekall kinds of rules like armor level requirements only specialareas you can att other peeps ect...I wana make my own game like rs but not rs really ...

Static methods in data access classes

107 byte By abhinav21a at 2007-9-28 7:31:39
Are we getting any advantage by keeping functions of DAOs (to be accessed by Session Beans) static ?

Direct read or use Entity Beans

325 byte By orjaykaya at 2007-9-28 7:31:43
Hi,For a simple login implementation, Should we use an entity beans or directly read from a session beans(Stateless) ? My fellow developer claims that entity beans are to be used only at places where transaction is required and for simple read operations we can read directly. Could somebody ...

Timers

237 byte By RainbowEnergiesa at 2007-9-28 7:32:04
To use Timers, I must implement ActionListener.But I'm trying to activate my timer object by moving my mouse.Is it possible for java to do it? If yes, can show me some codes on how to do it please ?Thanks : )

pacman game

181 byte By zbadra at 2007-9-28 7:33:32
hi all,i'm trying to achive a pacman game.i've got a pb with the ghosts : i want them to go to pacman by the shortest way. how can i do ?tx.badr

Duke Dollars for the first to implement the JOSRTS Tech Test

272 byte By jbanesa at 2007-9-28 7:34:14
See http://www.josrts.org/cgi-bin/ikonboard/ikonboard.cgi?act=ST;f=6;t=124If the offered Duke Dollars aren't showing up, it's because I haven't figured out yet how to attach them to the post. Give me some time, it's the first time I've offered them. :-)

Front Controller problem: using forward() with pages in different directory

1784 byte By xraydeltaa at 2007-9-28 7:34:48
I use a controller servlet to capture all requests, then dispatch the request to the appropriate JSP view page, well documented.BUT all examples I see put the JSP pages in the same directory as the root directory of the web application, ie "/webapp/", that's ok for a couple of pages, imagine a ...

How to return Multiple Values Objects

398 byte By rnatsa at 2007-9-28 7:35:17
Hi! I have a handler which perform queries against two databases. It sets them in to two Value Objects of type 'List' - ListA and ListB. I want to return these to my jsp page and process them in my jsp page. How can I do this. I am using MVC pattern - A jsp web form talking to Controller ...

j2me midp help

561 byte By aawolfa at 2007-9-28 7:35:41
Hi All!I'm new to java, but i want to build J2ME (MIDP) applications.I can write *.java files and run it after compiling.But i want to write low-level APIs (games) and i have an example from which i can start. It's a dog animation and it consists a Doggy.java and a DoggyMIDlet.java and some ...

Identifying objects using design patterns

657 byte By nmhb23a at 2007-9-28 7:35:57
Hi there!I am a beginner learning OO design patterns. I hope some of U expeienced guys can help me with this...I read that design patterns follow certain guidelines to identify objects. I had a brief look at patterns and got confused on where to start. Right now I am having the specifications ...

Casting... Always bad design?

896 byte By irvingdia at 2007-9-28 7:38:58
'provider implemented' APIs, like JMS for example, are very much 'interface' based. This is obviously a Good Thing as it removes any dependency on the actual implementation of the API.Underneath all of this though, a provider is actually implementing the API.So, lets say we have a ...

RUP and OOAD

108 byte By contactsankara at 2007-9-28 7:39:14
I like to know how RUP and OOAD are related?Is RUP a process which can be implemented by OOAD?

pool physics

200 byte By synluba at 2007-9-28 7:39:39
hi there, can anybody explain the pool physics, i already understand the conservation of momentum but i got trouble on determining the velocity vector, after the collision.thanks,

how to optimize this?

18161 byte By asjfa at 2007-9-28 7:40:08
hi, here is a prototype of a simple java game inspired by anaconda in timesplitters 2 - the only problem is if you make the play area too large, or your snake gets too long then the whole thing slows down far too much!I can't figure how to speed this up, but am sure there are people in this ...

Problem identifuing design pattern

1701 byte By manicheloa at 2007-9-28 7:42:42
Hi!Some background before asking the question. I have so far worked only on 3 web applications. I am not an expert architect by any means, but I can usually identify patterns when I have to.But now, I have to design a totally different kind of system, and mind you, I do not have much ...

Sorting sorrows / algorithm-like problem

1210 byte By ArtVandelaya at 2007-9-28 7:42:45
Here is my problem:I am trying to sort a known number of integers of different values, into "fronts." The first "front" contains all the (index locaitons of) integers with the lowest value; the second "front" contains all the integers of the next highest value; etc. etc. The worst case ...

Who wants 5 dollars ?

1179 byte By nath_amita at 2007-9-28 7:43:48
I wrote a public class Time ( saved it in Time.java ) in a package amit.java.time and another public applet class TimeTest ( saved it in TimeTest.java ) which imports the Time class . Both the class and the applet class code compiled successfully . But when I run the appletviewer from command ...

even sprite movement

1334 byte By yoda23a at 2007-9-28 7:44:27
Will this function help keep my sprites moving at a consistant # of pixels / second no matter the # of iterations my main game loop does per second? Is there a better approach? I have this calculation at the Sprite level, so it is done for each sprite. Should this be at the game loop level, and ...

tick vs. time -based animation

1098 byte By ericmuntza at 2007-9-28 7:44:38
Hi. I'm a bit of a newbie and I was wondering if I could get some information/opinions on animation techniques. I've seen a few mentions (one very recently by Abuse) of tick-based animation being inferior to time-based animation. I'm pretty sure I get the two concepts -- I assume it's just ...

Game Object Design Question

756 byte By voodoo_bluesmana at 2007-9-28 7:45:06
Ok, I have a question on the logical design on my game. The game will consist of a world, levels within the world, items, NPC's, and a Player.I will have NPC's wandering around the world automatically. In order to move, they are obviously going to need to be able to look at the level they are ...