754 Posted Topics

Member Avatar for ronghel

He means an array size of 10 elements is indexed from 0 to 9. The exception you're receiving basically means you're trying to access an index outside of that 0-9 range, or whatever the range is of your array.

Member Avatar for ronghel
0
135
Member Avatar for glowkazaf
Member Avatar for jimmy bones

I think what bugs me more than the lack of effort in describing the problem is the lack of effort in proper writing style. The Internet is not an excuse for poor grammar; feels like I'm reading posts by a 6yr old. [QUOTE]but current educational systems are ever more geared …

Member Avatar for iamthwee
0
259
Member Avatar for muddpigeon

If all you need is a catalog and not maintain an inventory, then really all you need is a list of objects. Your CD collection looks ok, but I probably wouldn't have broken down the CD's attributes as much as you have. I would make a class called Item that …

Member Avatar for Phaelax
0
82
Member Avatar for snitch321

Actually, this should all be done in 1 thread. I'm guessing you have multiple objects on screen that you want to appear to move at the same time? You would update the positions of all the objects, and only after that should you redraw the objects. If you use double …

Member Avatar for Ezzaral
0
182
Member Avatar for mexaros

At least until an intern gets a tape drive(which they never should've had) stolen out of their car, then what?

Member Avatar for jwenting
0
115
Member Avatar for AceKnocks

For starters, I'll state that I'm not exactly sure what the 'height' of a b-tree represents. My guess is the number of nodes and any visible children nodes. If so, then here's my thought: User the root node, assign its size to a variable, then start a [COLOR="Green"]while[/COLOR] loop. When …

Member Avatar for Narue
0
865
Member Avatar for shimul_13

Doesn't matter how well you did on th exams, you still didn't do your own class work. And this guy technically hasn't asked anyone to do his work, hasn't even asked a question. Frankly, I'm not really sure what he wants.

Member Avatar for jwenting
0
102
Member Avatar for snitch321

So you have multiple objects that you want to see them move on the canvas at the same time slowly into the shape or form of a balloon?

Member Avatar for snitch321
0
1K
Member Avatar for PL.P27

Careful rajatC, with Strings you must compare them with the equals() method, as == is intended for primitives and String is an object. [code=java] JTextField guessI = new JTextField(); String g = new String(""); g = guessI.getText(); if(g.equals(word)) //worked; else //wrong; [/code]

Member Avatar for rajatC
0
97
Member Avatar for Phaelax

Any direction someone could point me in for auto-sizing only the last (right-most) column in a jtable? I want the user to be able to set the size of columns and be allowed to set them beyond the scrollable viewing area, but if the viewing area is wider than the …

Member Avatar for Phaelax
0
1K
Member Avatar for Nightbound

Read through the code and see what it's doing. You're going to have to write some code yourself, there's not really going to be a "cut n' paste" solution on this forum. I would suggest you start with some easier basic tutorials on Java networking. [URL="http://java.sun.com/docs/books/tutorial/networking/"]http://java.sun.com/docs/books/tutorial/networking/[/URL]

Member Avatar for Phaelax
0
101
Member Avatar for sakthi123

I don't believe a Long can have decimals. You may want to use Float or Double.

Member Avatar for mickinator
0
113
Member Avatar for Loreto

I suppose a recursive method call would do the trick, but you really should be using loops for this, which you'll need anyway to sort the numbers.

Member Avatar for darkagn
0
117
Member Avatar for macspirit

You can't enter the OS? Meaning you can login but the desktop never loads? Or do you not even reach the login screen? You really must correct what you're saying as none of us have any idea what you're talking about.

Member Avatar for Rick150
0
106
Member Avatar for scru

Matt pretty much nailed it. I thought I knew math pretty well, until I started designing games (just a hobbyist). Checking forums that are more specialized in game development and see what solutions people offer to various situations. There are many shortcuts and hacks for creating interesting effects in games, …

Member Avatar for FireNet
1
150
Member Avatar for Junior89

I run 2 Athlon MP's and a P4 prescott. I'd say I like the Pentium better because I've had less compatibilty issues with it when running games. Also, my room temperature is much lower while running only the pentium. If I wasn't into playing and making games, I'd stick with …

Member Avatar for webbo
0
679
Member Avatar for njwnews

From an earlier post on this topic about the uptime of the computers, you have to also consider not only the OS running, but the hardware itself and who's operating it. How many of us here could keep a Windows machine running for a week straight without a problem? Now …

Member Avatar for DimaYasny
0
2K
Member Avatar for boyz
Member Avatar for Phaelax
0
93
Member Avatar for desijohns

Look in your bios, if you see the harddrive there then there's a chance you may be able to run fdisk and rebuild the partition on the drive. (doesn't mean the drive isn't bad though) Another possibility is a bad IDE ribbon. The fact it's a maxtor leads me to …

Member Avatar for Phaelax
0
85
Member Avatar for piers

To clarify, a constructor will have the same name as the class and not define any return type. If it does not have the same name as the class, then it is just a method and must have a return type defined. If your methods are not returning anything, you …

Member Avatar for piers
0
173
Member Avatar for java_starter

Look in your Customer class. Either it doesn't contain any addAccount/withdraw/deposit methods or you may have declared those methods all private.

Member Avatar for Phaelax
0
535
Member Avatar for Grub

You should stick to integers and work with them in terms of cents. So 1 = 1 cent rather than 1 dollar in your example. Calculations could also be unnoticably faster as well.

Member Avatar for eranga262154
0
85
Member Avatar for vivek_green

I believe there's a static variable or system propery that holds the proper return character for the system the vm is running on. Sorry I can't remember exactly what it was.

Member Avatar for Ezzaral
0
2K
Member Avatar for StRoYeR

You're drawing a bitmap tile map, but you want 3D terrain? Are you trying to map textures to a 3D mesh? I'm not sure what you're after.

Member Avatar for StRoYeR
0
117
Member Avatar for Phaelax

I've done custom components before, but never for a whole window. How would I go about changing the title bar on a window? I bought a book on UI designing from amazon, just hasn't arrived yet. I just need a basic place to start.

Member Avatar for peter_budo
0
92
Member Avatar for balagangadharm
Member Avatar for jwenting
0
90
Member Avatar for pawan_1983

A google search for java chat application will return tons of useful results. Then if you get stuck on something more specific, let us know.

Member Avatar for jwenting
0
195
Member Avatar for SirJames

We can't tell if it works if we don't know the game or rules. What determines a winner?

Member Avatar for SirJames
0
119
Member Avatar for lapam

What programming language do you know?(C++,Java) Which graphics platform do you wish to use?(OGL, DX)

Member Avatar for lapam
0
72
Member Avatar for Phaelax

Dell Latitude D600, won't see the harddrive. I took the harddrive out and stuck it in a desktop(with a 2.5" adapter) and was able to boot all the way up to XP just fine. Now I am aware that these latitudes are notorious for failing motherboards, but was hoping someone …

Member Avatar for Chaky
0
100
Member Avatar for ozi-dv8

Sounds like the heads in the drive are whacked out. There really is no way to fix it, back up your data now while you still can.

Member Avatar for Phaelax
0
114
Member Avatar for Utkarsh Kukreti

Most people will consider this type of request of malicious intention and likely will not help. Why would you want to record all your keystrokes for anything productive?

Member Avatar for Ramy Mahrous
0
292
Member Avatar for Phaelax

we use lotus notes here at work, always have. We're merging with another company who uses Outlook and we're converting them to Notes and its not going so well. I was just wonder what everyone's opinion was about lotus notes. To me, it's on the top 10 worst software list. …

Member Avatar for doonz
0
153
Member Avatar for kahilw

Tell us exactly what your UI is to accomplish so that we might possibly find a better alternative for you other than inserting a table into a table. Unless you mean just merge two tables?

Member Avatar for Phaelax
0
155
Member Avatar for Dsiembab

Depends on the situation. PNG file sizes are pretty good in my opinion and have higher quality. View the link below for fixing the alpha issues with IE6. FF and Safari will display the alpha just fine. [url]http://homepage.ntlworld.com/bobosola/pnghowto.htm[/url] That work-around only works in cases where the PNG was displayed with …

Member Avatar for Phaelax
0
130
Member Avatar for mattyd

I like Netbeans over Eclipse. But on average for me, it'll use between 150-200mb of memory.

Member Avatar for jwenting
0
581
Member Avatar for taran30

Build a number guessing game. I'm not sure of what would be a good 'beginner' project when there is a 2 month deadline. That's obviously enough time for more than a simple beginner's project. Maybe do something with parsing webpages. That'll get you playing around with some useful packages. Perhaps …

Member Avatar for iamthwee
0
82
Member Avatar for arkaprava

[QUOTE]and can be able to different household works [/QUOTE] That doesn't make any sense. To unlock the car, your mobile would need to be able to send out the frequency the car remote does, and have the right code. To control the lights that way, you'd need the right hardware …

Member Avatar for arkaprava
0
95
Member Avatar for tygerberg

Completely doable, but I only have a theory of how. You'll need to control the flow of the raw bytes of sound sent to the output line and feed those bytes backwards. And I can tell you its more complicated than just reading the file in backwards, the whole thing …

Member Avatar for orko
0
98
Member Avatar for marjan_m

You can use ImageReady to slice your design up into separate image files and it will also build the html file which pieces it back together for a webpage. (although some changes usually need to be made to the code afterwards)

Member Avatar for macneato
0
217
Member Avatar for shank

[quote=saadkhan;417562]What u want to know ???? PHP stands for Personal Home Page, basically a scripting language for generating Dynamic Content.[/quote] Where the heck do you hear that from? If you want to learn about PHP and receive better help on these forums, ask more intelligent questions and do a little …

Member Avatar for jocrenalix
0
86
Member Avatar for soco_chic16

It's probably a registry issue. Try to find the keys in the registry that deal with that expansion and remove them.

Member Avatar for Phaelax
0
93
Member Avatar for code9ster

[QUOTE]dont create a forum yourself[/QUOTE] why not? It's not that difficult and you can learn quite a bit in the process.

Member Avatar for francispunk
0
142
Member Avatar for roryt

[QUOTE]Yes but it would generate ad revenue and for exactly the reason you just stated-you should give them the option because everyone has it in the taskbar now anyway,you might as well have it handy and benefit.[/QUOTE] I certainly dont have it. I hate extra search bars that clutter my …

Member Avatar for MidiMagic
0
185
Member Avatar for ShawnCplus

If you're storing data only your game will need to interact with and requires no outside programs or users to be able to read the data, then I would stick with a standard text file. The only data I would store in XML is stuff that wouldn't be harmed by …

Member Avatar for jwenting
0
134
Member Avatar for juliepd
Member Avatar for oO_flynn_oO

you're asking him to supply you with a program that can potentially steal other people's work. You really expect to get much help? Google it, download a few different ones and try them out yourself to see which you prefer, it's not that complicated.

Member Avatar for Phaelax
0
152
Member Avatar for missfidz

XML simply describes data, you can't write a program with it. But you can do your communication through XML sent over your connected clients. If you're interested in using XML with chat clients, take a look at the Jabber protocol.

Member Avatar for Phaelax
0
100
Member Avatar for walba

you might want to start out by searching "dreamweaver tutorials" on google.

Member Avatar for electroskan.com
0
77

The End.