1,034 Posted Topics
Re: What's the error message? Is it saying recompile with Xlint? | |
Re: You can use threads. Threads allow you to set the priority to affect when it runs in according to other threads. Here is a small tutorial, don't know if it will help or not. [url]http://www.dslab.tuwien.ac.at/javatutorial/essential/threads/[/url] | |
Re: Just construct a shape class with a couple of methods. The methods you have should be general enough so that each subclass could use them..Such as color. Just find some common relationships between the Rectangle, Circle, and Triangle, and that should give you the class. Since it's a generalized class, … | |
Re: Do you have another classed PassengerData? If so, you need to post it so when can run the program, or even better, you could post a screenshot of the GUI. | |
Re: I don't know if that's completely legal, but it sounds like an excellent idea. I think you could make some big bucks off of that. I do think it will catch on, and probably fairly quickly...Great idea. | |
Re: I'm not sure I undestand what your doing with the calll of new a(this)...Could you explain. The way you have it, it's like you have an inner class called a, and your are trying to pass the whole class to it. Am I correct? | |
Re: Are these JInternalFrames that your adding to the JDesktopPane? | |
Re: You could add a layout manager to the JPanel, but it's probably not going to be as pretty as you want. Do you mind posting a screenshot of what it's doing? | |
Re: You'll need to take a look at the GregorianCalender class. I don't know much about it, but I do know that you'll have to do some calculating with milliseconds. | |
Re: Each time I play(with 3 dots), I get a lot more than 11 dots. Am I doing something wrong? Can you show a simple picture of you playing the game, say in paint? By the way, that seems like a pretty cool game even though I can't seem to get … | |
Re: So you want us to help you do something illegal. Geez, I just can't imagine why that thread was closed. | |
Re: It's your environment variables. Make sure the classpath is pointing to the tools.jar file found in the jdk directory. I'm guessing it says something like: "javac is not recognized as a command"...Something along that line. | |
Re: I think I would go with honeypots. That could be an intersting project. | |
I need a good scheme for choosing a keyword from a definition. The scheme must be universal because I'm reading from a list of 5000 words with definitions. This is for my hangman game I made, and I want to give the user a clue as to what the word … | |
Re: So do you want to store all information for one person in one LinkedList, or are you wanting to parse through it and store the Name, Address, and Phone number all in seperate LinkedLists? | |
Re: I've had this problem creep up on me several times. Look at the box/case the cd's came in, and see what the max write speed is. Make sure you are at that, or below. Also, try a really slow speed such as 16 or 4, and see if that works. … | |
Re: I don't know if it's true or not, but I've heard defragmenting too often can ware out your HD. I guess that would result in running defrag several times in succession. | |
Re: [QUOTE=C++] Even better, maybe there's a way to access it through a c++ or java program! thanx.[/QUOTE] You can access a site through java without knowing the IP Address. look up the java.net.*; package. | |
Re: Pretty cool, I like how the pictures are good quality. Keep up the good work. PS: Did you create the installer also? | |
Re: We can, but you'll need to show some effort. | |
Re: I don't undestand what your doing, but I can tell you why the q thing probably didn't work. Instead of this: if (endl == "endl") do this: if (endl.equals("endl")); Other than that, I can't help because I don't understand what your doing. | |
Re: Check with M$ windows updates, and see if they have an updated driver for your graphics card. | |
Re: I had this same problem not too long ago. Here is what I did to get rid of it: [url]http://www.wilderssecurity.com/showthread.php?t=75890[/url] | |
Re: Don't worry about being a "noob". We all have to start somewhere. Start out with a BufferedReader to read from the command line: BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Once you have that, then you can read the product number and that good stuff. Then just use a switch statement … | |
Re: My suggestions: 1. Bundle all classes and resource files in a jar file. 2. Try to preload the heavier files (e.g. sound files) in a background thread, instead of init() method. | |
Re: I don't think there is. It's possible mozilla has a function like that, but I doubt it. You can look through the cookies if those haven't already been deleted. They should contain website info. Other than that, I guess your out of luck. | |
Re: java.sun.com is probably the best resource online. There are a bunch of different sites you can find tutorials on, but I would stick with java.sun.com. If you're just starting out java, I would probably recommend a book, but of course it's your personal preference of what fits you best. | |
Re: Sounds like a spanning tree problem. I think you invert the direction and go from there, or something like that. | |
Re: Well, there is the PrintStream class, but I would use the PrintWriter. Actually, if you want automatic flushing, then PrintStream would probably be better. If you want to stick with the PrintWriter, try calling the flush after a print() method, and make sure you are closing the connection after it … | |
Re: [QUOTE=Bud4java] A personal thanks go out to Narue and Server_Crash who were extremely helpful and patient with me as I committed the usual "boneheaded" errors and followed the usual newbie learning curve.[/QUOTE] Your very welcome. We all have to start somewhere in learning programming, even if it means making the … | |
| |
Re: [QUOTE=sydneyrustle]------Configuration: test2 - JDK version 1.5.0 <Default> - <Default>-------C:\Documents and Settings\crusse15\Desktop\ClientUI.java:71: ')' expected String foundName = st.findName(String itemName); ^ 1 error[/QUOTE] it's probably with that line of code. What you should be doing is this: String foundName = st.fiindName(new String(" ")); or just String foundName = st.findName(itemName); | |
| |
Re: I think it's StreamTokenizer that can differentiate. | |
Re: I thought this happened once already, and it failed? Or what that the liscence agreement for J++? | |
Re: [QUOTE=Total NONgeek] Do you want it?[/QUOTE] I'll take it. ;) Have you not contacted Dell tech support? I had a screen going bad, and I gave them an email and two hours later they gave a reply saying they were sending a rep to my house to replace the thing. … | |
Re: This is from M$, and it tells how to resolve the issue. [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;821690[/url] | |
Re: I believe most software engineers are offered great stock options and other benifits...Is that correct guys? | |
I can can use a BufferedReader to open a Streamat the command line, like this: [Code] BufferedReader br = new BufferedReader(new InpuStreamReader(URL.openStream())); [/Code] Once I try to use this same statement inside of my applet, I get an AccessControlException. I know it's something to do with security, but how do … | |
I would like to purchase a PDA sometime in the future. It will mostly be used for programming and stuff like that. Ebay has a bunch of these things, but I don't know what to look for, what brands are the best, and if ebay is safe enough to buy … | |
Ok, I'm working with some Strings, and these Strings will get remade up to an infinite number of times, and I know that a new object is created each time. So, which is worse.. Keep using the String, and have the value continously change, or Use a StringBuffer, and continously … | |
Re: I hate to refer you to google, but I think that's the only way you'll find one. | |
I've been working on this webcrawler and I've ran into a problem. I can read the first URL and get all the URLs out of the HTML code, but I can't seem to set up a looping structure that will work. This is basically what it does: Searches through html … | |
Re: Linux makes a good server. As for desktop, I don't really like it. Some people really prefer Linux over windows for good reason, others just use it because it's a way to bash M$. I dual boot Windows Xp and Madrake 9, but I rarely use Mandrake. | |
The End.