754 Posted Topics

Member Avatar for oneguy

You might want to search google for info about C++ pointers, but the code looks pretty straight forward for porting it to Java.

Member Avatar for Ezzaral
0
109
Member Avatar for venomlash

Is your HTML file located in "C:\Documents and Settings\MyNameDeleted\My Documents\Programming\Soluna Invasion\SolunaInvasion\SolunaInvasion.class"??

Member Avatar for venomlash
0
276
Member Avatar for ramjeev

You probably need to add the labels to a jpanel then add that panel to the scroll pane.

Member Avatar for ramjeev
0
5K
Member Avatar for Ymor

You need to store your information into an array, sort the array by date, then output the text to the screen. Since each line contains multiple pieces of info, create a new class and build objects from that and implement a compareTo method for the sorting.

Member Avatar for Phaelax
0
97
Member Avatar for mehmedovic

[QUOTE]because i am taking 6 college[/QUOTE] I'm taking 7 and working 40 hours a week, yet I manage to get my work done despite moving houses over the passed two weeks. You'll need a better excuse to make us do your homework. So, what specifically are you having trouble understandng?

Member Avatar for jasimp
0
156
Member Avatar for srinivasrk

So the client isn't displaying messages until you close the server? Almost sounds like the client isn't updated after you've appended a message.

Member Avatar for Phaelax
0
129
Member Avatar for majestic0110

A server awaiting incoming connections may use an infinite loop, often in another thread.

Member Avatar for majestic0110
0
157
Member Avatar for amitahlawat20

Well, I'm not quite sure about the tilde, but it looks like it's using 0x0f as a mask which basically cancels outs the higher 4 bits of a byte. By canceling out all but the lower 4 bits, the resulting number will range between 0 and 15. With all the …

Member Avatar for Phaelax
0
65
Member Avatar for Pker

Why not run it off your computer? It should be capable of handling 2-3 of your friends for testing purposes.

Member Avatar for PirateTUX
0
82
Member Avatar for Venom Rush

First thing you need to figure out is how the RPG will work online. Realtime? Turn-based? Are we talking text-based or will it have 2D scrolling maps? Think about the design and what you want it to turn out as, then decide which language would be more suitable, as 'rpg' …

Member Avatar for PirateTUX
0
293
Member Avatar for Cudmore

Here's conversion methods for short, low byte given first in array. [code] public static byte[] toBytes(short s) { return new byte[]{(byte)(s & 0x00FF),(byte)((s & 0xFF00)>>8)}; } public static short toShort(byte[] b) { return (short)(b[1]<<8 | b[0]); } [/code]

Member Avatar for Zork'nPalls
0
142
Member Avatar for <1337>Me</1337>

There's plenty of resources for creating mods for Tribes as well, as with most games. I agree with Loyen, start off writing a mod for an existing game until you get a handle on that, as it will be much easier than starting your own game. When you're ready, look …

Member Avatar for Tsuruya-san
0
222
Member Avatar for s11kenneth

Rather than trying to start a physical company right away, it'll be a lot less riskier to create games as an indi developer. Keep in mind that literally thousands of games are created each year, yet only a handfull of them ever make a substantial profit. Occationally, the little guys …

Member Avatar for beefstick720
0
351
Member Avatar for chankya

Create your own custom TableCellRenderer, then set the background color of whatever the component is that you're returning for rendering. [code] Component c = whatever your component is (rowIndex %2 == 0) ? c.setBackground(Color.blue) : c.setBackground(Color.white); [/code] If you do this, you'll also have to control the highlighting of when …

Member Avatar for Phaelax
0
145
Member Avatar for Sgt. Pepper

Roverfind, do not hijack other threads, make your own. But to answer your question, no. We're here to help to those who show effort.

Member Avatar for Sgt. Pepper
0
132
Member Avatar for sibitech
Member Avatar for jwenting
0
75
Member Avatar for the b

You should stick with java naming conventions. Don't start instance variable with capital letters, as that typically shows a Class name. And I have no clue what this is suppose to do: stateValue = PlayerName.length() % 3; if playerName = "Bobby" then statValue would equal 2 (5 mod 3) So …

Member Avatar for stultuske
0
233
Member Avatar for mjmythili

Google is your friend. [url]http://blogs.msdn.com/coding4fun/archive/2006/10/31/912559.aspx[/url] [url]http://www.programmersheaven.com/2/FAQ-DIRECTX-Apply-A-Texture[/url]

Member Avatar for rick222
0
74
Member Avatar for bhuvanee
Member Avatar for rick222
0
297
Member Avatar for srikanth882003

[url]http://java.sun.com/j2se/1.3/docs/tooldocs/win32/classpath.html[/url] Or you can right-click on My Computer, goto Properties and click on Advanced then on Environment Variables. You can add the CLASSPATH variable there.

Member Avatar for masijade
0
107
Member Avatar for Jonhlong

You want code given to you, use google. We're not here to do your work.

Member Avatar for Phaelax
0
57
Member Avatar for nuch1311
Member Avatar for sanzilla

[QUOTE]I really feel lazy to write my own code[/QUOTE] You're also apparently too lazy to google search as well. [url]http://sourceforge.net/projects/vcard4j[/url]

Member Avatar for sanzilla
0
144
Member Avatar for Shveetis

I don't think you can. HTTP is a stateless protocol, so it's not even likely to retain the number of request since you connected.

Member Avatar for Phaelax
0
70
Member Avatar for Wiizl
Member Avatar for Mr.UNOwen

You'll probably want to use canvas and double buffering techniques if you're making a game. What format will your videos be in?

Member Avatar for Phaelax
0
64
Member Avatar for javaStud
Member Avatar for crioto

a-star will work, it doesn't matter how many obstacles are in the way. If there's a path available, a-star will find it.

Member Avatar for MattEvans
0
198
Member Avatar for ehanauer@mac.co

I personally think Photoshop's web gallery generation is rather crappy. There's absolutely no need to have a separate html file for every single photo. A simple javascript function would let you change the displayed photo from a thumbnail without having to reload anything else.

Member Avatar for BranwenS
-2
393
Member Avatar for jimmy bones
Member Avatar for Phaelax
0
110
Member Avatar for Shveetis

I would also suggest using String.trim(), might resolve the erroneous spaces you said you were receiving.

Member Avatar for Phaelax
0
109
Member Avatar for narendra_jntu

Java2 typically means 1.4, but started with 1.2. Java 5 is version 1.5. Check this link for further info: [url]http://en.wikipedia.org/wiki/Java_version_history[/url]

Member Avatar for Phaelax
0
103
Member Avatar for balaguru
Member Avatar for dragon99x

This is usually the first site I point people to when they want to make a java music player. [url]http://www.javazoom.net/index.shtml[/url]

Member Avatar for Phaelax
-2
534
Member Avatar for CoolGamer48

I saw several potential note-worthy links on collision here: [url]http://www.yov408.com/html/tutorials.php?s=54[/url] Though I can't be 100% positive this is the right link (proxy at work blocks game-related sites) but I do believe this is the same collision and response article I used to build my collision system in a game. It …

Member Avatar for Phaelax
0
112
Member Avatar for mahendrazod

Are you trying to make an installer to add more emoticons to an existing messenger? Each messenger is sure to be different.

Member Avatar for Phaelax
0
62
Member Avatar for kaloc

In Windows, there might be a way of accessing those components by using the Window ID handle or something. I'm not entirely sure here, this is just a guess.

Member Avatar for kaloc
0
141
Member Avatar for Pro2000

I like 3D Studio Max best, my friend prefers Maya. It basically comes down to which package we've invested our time in learning. Pretty much most packages are capable of the same things. I know a lot of independent developers that will use Anim8er or Blender because the high end …

Member Avatar for Nick Evan
0
171
Member Avatar for happy8899

What you should be looking for are articles on RTS game design. I started a tutorial years back on creating an RTS using DarkBasicPro. I can't access their forum from work(firewall blocks game-related sites) but if you visit: [url]http://forum.thegamecreators.com/?m=forum_view&t=44248&b=6[/url] One of the stickied threads relates to my tutorial. I'm guessing …

Member Avatar for jefflou
0
134
Member Avatar for ramvenkat

User proper English and I'll consider helping. 'plz abt dis' are not real words.

Member Avatar for jwenting
0
106
Member Avatar for Adami

Let's see what you've tried. Easiest method would be to just use regular expressions. The method javaAddict describes is very simple. When you encounter an opening bracket, increment your bracket counter. When you encounter a closing bracket, decrement the counter. If the counter is 0 at the end of the …

Member Avatar for iamthwee
0
94
Member Avatar for kamikaz1_k

Seems odd that a motherboard would die at the same time as upgrading new hardware, so I doubt that's the issue. (although, something could have shorted while you were swapping parts). I would put all the old stuff back in, to the point when you know the computer last worked. …

Member Avatar for kamikaz1_k
0
100
Member Avatar for ad_ms

4th year and your grammar is that terrible? Are you asking for tutorials on how to use Eclipse?

Member Avatar for cjturner
0
162
Member Avatar for petermacdonagh
Member Avatar for phayphay

So what trouble are you having? It's telling you exactly step by step what to do. Step 1: q = a/b q = 108/16 q = 6.75 Step 2: % is modulus or the remainder of a division. So 10/3 would 3 1/10, the remainder is 1. The steps are …

Member Avatar for Phaelax
0
75
Member Avatar for Septenary

Look at the A* (a-star) algorithm. It's commonly used for path-finding. Here's the article that myself and a lot of others I know have used to learn A* path-finding. [url]http://www.policyalmanac.org/games/aStarTutorial.htm[/url]

Member Avatar for Phaelax
0
219
Member Avatar for vanduea

Do a forum search and see what the other 100 people before you have found out when asking this question. We don't know where your level of Java understanding is at and therefore only you can select the best topic for your project. Think about what interests you. Or think …

Member Avatar for jwenting
0
119
Member Avatar for wonder_laptop

Is there a firewall blocking connections from your program? Or perhaps the port is closed

Member Avatar for wonder_laptop
0
189
Member Avatar for WHTZ

I'm surprised people gave you the answers. The questions are easily answered by looking in any beginner's java book, such as your school text book. Question #6 can be the easiest to solve by opening up the glossary in your book. For #9, only 1 solution will even compile. Evaluate …

Member Avatar for PoovenM
0
102
Member Avatar for ersa

Are you trying to be cute or something? Far as I can tell, you need to replace 0 with 1? What is your program suppose to do? And what part isn't working for you? You'll never get any help if that's the only info you provide.

Member Avatar for Imaginativeone
0
58

The End.