754 Posted Topics
Re: 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. | |
Re: 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 … ![]() | |
Re: 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 … | |
Re: 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 … | |
Re: At least until an intern gets a tape drive(which they never should've had) stolen out of their car, then what? | |
Re: 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 … | |
Re: 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. | |
Re: 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? | |
Re: 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] | |
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 … | |
Re: 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] | |
Re: I don't believe a Long can have decimals. You may want to use Float or Double. | |
Re: 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. | |
Re: 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. | |
Re: 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, … | |
Re: 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 … | |
Re: 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 … | |
Re: And you really need to specify the format of the audio file you want. | |
Re: 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 … | |
Re: 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 … | |
Re: Look in your Customer class. Either it doesn't contain any addAccount/withdraw/deposit methods or you may have declared those methods all private. | |
Re: 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. | |
Re: 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. | |
Re: 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. | |
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. | |
Re: Are you searching through a sorted set of data or random? | |
Re: 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. | |
Re: We can't tell if it works if we don't know the game or rules. What determines a winner? | |
Re: What programming language do you know?(C++,Java) Which graphics platform do you wish to use?(OGL, DX) | |
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 … | |
Re: 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. | |
Re: 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? | |
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. … | |
Re: 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? | |
Re: 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 … | |
Re: I like Netbeans over Eclipse. But on average for me, it'll use between 150-200mb of memory. | |
Re: 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 … ![]() | |
Re: [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 … | |
Re: 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 … | |
Re: 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) | |
Re: [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 … | |
Re: It's probably a registry issue. Try to find the keys in the registry that deal with that expansion and remove them. | |
Re: [QUOTE]dont create a forum yourself[/QUOTE] why not? It's not that difficult and you can learn quite a bit in the process. | |
Re: [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 … | |
Re: 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 … | |
Re: 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. | |
Re: 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. | |
Re: you might want to start out by searching "dreamweaver tutorials" on google. |
The End.