1,034 Posted Topics

Member Avatar for luisator
Member Avatar for George2

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]

Member Avatar for George2
0
198
Member Avatar for Eager Student

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, …

Member Avatar for Eager Student
0
118
Member Avatar for RLG
Member Avatar for buggytoast

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.

Member Avatar for buggytoast
0
417
Member Avatar for ramcol
Member Avatar for poserfish

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.

Member Avatar for server_crash
0
70
Member Avatar for aaaa

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?

Member Avatar for server_crash
0
162
Member Avatar for Postal Elf
Member Avatar for buggytoast

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?

Member Avatar for server_crash
0
150
Member Avatar for Londos

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.

Member Avatar for Londos
0
121
Member Avatar for tgreer

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 …

Member Avatar for server_crash
0
136
Member Avatar for sunandoghosh

So you want us to help you do something illegal. Geez, I just can't imagine why that thread was closed.

Member Avatar for sunandoghosh
-1
448
Member Avatar for yassar

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.

Member Avatar for server_crash
0
193
Member Avatar for Dark_Omen
Member Avatar for jay84
Member Avatar for freesoft_2000
Member Avatar for server_crash
0
169
Member Avatar for server_crash

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 …

Member Avatar for server_crash
0
105
Member Avatar for UltimateFreq

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?

Member Avatar for UltimateFreq
0
185
Member Avatar for Surrey Quays

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. …

Member Avatar for JANINE
0
184
Member Avatar for dcc

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.

Member Avatar for JANINE
0
292
Member Avatar for Ghost

[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.

Member Avatar for server_crash
0
270
Member Avatar for kall

Pretty cool, I like how the pictures are good quality. Keep up the good work. PS: Did you create the installer also?

Member Avatar for kall
0
225
Member Avatar for gambale
Member Avatar for B-80

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.

Member Avatar for server_crash
0
106
Member Avatar for cai

Check with M$ windows updates, and see if they have an updated driver for your graphics card.

Member Avatar for Catweazle
0
212
Member Avatar for CanaanJohnMarsh

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]

Member Avatar for dlh6213
0
131
Member Avatar for NewbyChic

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 …

Member Avatar for NewbyChic
0
220
Member Avatar for rutuja

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.

Member Avatar for server_crash
0
255
Member Avatar for babablackheart

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.

Member Avatar for server_crash
0
90
Member Avatar for missdiva

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.

Member Avatar for yassar
0
279
Member Avatar for li_xia_er

Sounds like a spanning tree problem. I think you invert the direction and go from there, or something like that.

Member Avatar for server_crash
0
121
Member Avatar for stupidenator

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 …

Member Avatar for server_crash
0
136
Member Avatar for Bud4java

[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 …

Member Avatar for server_crash
0
134
Member Avatar for dummy00
Member Avatar for sydneyrustle

[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);

Member Avatar for server_crash
0
136
Member Avatar for JJ___
Member Avatar for Harvester
Member Avatar for berg249913
Member Avatar for server_crash
0
94
Member Avatar for ! !

I thought this happened once already, and it failed? Or what that the liscence agreement for J++?

Member Avatar for jwenting
0
245
Member Avatar for Total NONgeek

[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. …

Member Avatar for server_crash
0
256
Member Avatar for Total NONgeek

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]

Member Avatar for dlh6213
0
431
Member Avatar for Torchire

I believe most software engineers are offered great stock options and other benifits...Is that correct guys?

Member Avatar for jwenting
0
146
Member Avatar for server_crash

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 …

Member Avatar for Phaelax
0
143
Member Avatar for server_crash

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 …

Member Avatar for Thong_Ispector
0
519
Member Avatar for server_crash

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 …

Member Avatar for Paul.Esson
0
332
Member Avatar for George2
Member Avatar for George2
0
338
Member Avatar for server_crash

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 …

Member Avatar for server_crash
0
145
Member Avatar for moderate_rock48

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.

Member Avatar for Catweazle
0
527
Member Avatar for sesom

The End.