5,727 Posted Topics
Re: You may be able to make something that runs on your machine and calls the profile update every few minutes but I don't think Dani would like that... | |
Re: I don't use it. In fact I've blocked the entire domain causing any mail from GMail accounts to be bounced. If someone wants to send me email, send it from an account where Google doesn't harvest the entire message content including my contact information. | |
Re: Better use String.split() instead of StringTokenizer. It will give you an array of Strings split on whatever you give it to use as a field separator. As your data structure is pretty static you can then use that array and average all the data in it (while skipping the first … | |
Re: Netscape is crap. Firefox is netscape on steroids (and with less bugs). So is IE in fact. Netscape standards compliance is abysmal, performance is poor, the only reason noone writes exploits for the miriad holes in it is because noone uses it. | |
[B]Symptom:[/B] Error "database unavailable" when trying to connect to a Firebird database even if fbserver is running fine (and Java applications connect, isql works great, remote clients can connect great, etc.). [B]Scenario:[/B] You have just installed Firebird on a machine that previously had Interbase installed and are trying to run … | |
Re: hoard those invites, prevent gmail from stealing even more peoples' lifes by profiling them completely (which is what Google does, everything you write or receive is used to build up marketing profiles (for now...) of you and the other party (who doesn't even have to be a gmail subscriber and … | |
Re: You need to explicitly cast the object you retrieve from the List to the correct type unless you use a 1.5 level compiler in which case you can use generics to declare the List to only accept a specific type (and thus do the cast for you on retrieval). You'd … | |
Re: You can't, not with that compiler... It's an old realmode DOS compiler, and in those days (say the mid 1980s) memory segments were 64KB and could not get larger. Switch to a more modern compiler (one that was written in the last decade or so). | |
Re: Little if it's really dead. There are companies that can retrieve (or try to) the data for you but those services cost thousands of dollars/Euros at least. If the drive is still under warranty the best you can do is try to get a warranty replacement for it. Contact your … | |
Re: First learn proper OO techniques and proper Java class naming. Then maybe I'll take a look. | |
Re: don't get involved in pyramid schemes, they're illegal and pretty much all of them are scams. | |
Re: Line noise? Connect the line out from the audio deck to the line in for your soundcard. | |
Re: Tried FF. Too many problems in the CSS and JS handling. | |
Re: Show what you have and tell what goes wrong. You're saying you've trouble getting it to compile so you have some sourcecode already... We're not here to write your software for you, you'd never learn anything except to come begging for more and more... | |
Re: If money's no object an NVidia Quadro FX would be the only card to seriously consider. Something like this: [url]http://www.pny.com/products/quadro/fx/2000fx.asp[/url] Retail price (special order only) €1600-€1700 | |
Re: What's the problem? You can implement this in several ways. Easiest is to have the environment know where all the fish are. Create a coordinate class (or just use the existing Point class) and give the fish a method to move them which takes the current coordinate and returns the … | |
Re: You should really dig into the API docs a bit. Depending on what you want to achieve you can use one of two classes at least to achieve what you want using only standard API functions. | |
Re: And here I was thinking of having to get a fork lift or a construction crane ;) | |
Re: It all depends on your DVD player, your burner, your software, and the brand and type of recordables you use. Some players won't accept any recordables or rewritables, others accept only certain types and recorded using specific protocols. Check your manual for what will and will not work (and even … | |
Re: Plus asking others to do your homework is seriously frowned upon. Just don't do it. | |
Re: Look for expression parsers. There's a nice example in the book "the art of Java" by Herbert Schildt and James Holmes. Nice book to read anyway with some rather interesting examples of what you can do with Java. | |
Re: Overclocking is indeed dangerous, and unless you take massive risks usually yields only minimal results. You basically change settings in the hardware to override things like clockspeeds and temperature constraints. These settings are made in the factory to assure the product works well and doesn't get damaged by overheating or … | |
Re: Visual J++ hasn't been updated for about 5 years or more AFAIK. It uses a 1.1.6 (maybe 1.1.7) compliant compiler, current version is 1.5.0.01 | |
Re: Java ALWAYS uses pass by value, so your question makes no sense. Maybe you THINK objects are passed by reference but they aren't. What's passed are references to objects and these are passed by value. | |
Re: There is no way to force a thread to stop, and for good reasons as doing so could leave the entire application in an unpredictable state. The standard means is to have a public function in the Runnable instance used by the thread which sets some flag. The run method … | |
Re: You should separate display logic from business logic anyway. Your entire application is butt ugly, one big block of spaghetti code. Use proper OO design. And use proper Java class and method naming... Maybe you should first learn Java before trying to write your own language? | |
| |
Re: Make the component that shows the time a self contained bean. Create something that inherits from JPanel or JComponent and use that as your base, then display the time on there. Give it a thread that updates the component, then goes to sleep for a while (a second would be … | |
Re: You can use Oracle without ODBC, just use the class 4 JDBC driver which has far better performance and is platform independent. You're not going to create DSNs from Java without using native code (thus JNI and a DLL), though maybe the Oracle ODBC bridge driver has some non-standard functionality … | |
Re: mode 13 hex ONLY works under DOS in 16 bit mode. It cannot be entered in Windows in any mode. | |
Re: what error, what button, what applet, what dispose method??? | |
Re: Of course. I hope you use a model to contain your data and have your screens read the data to be shown from the model? If so, just show the screen like you would from the toolbar or menu. If not, it's time to rethink your application architecture. | |
Re: I guess you're looking at Java courses? Sun has excellent ones. Available as classroom study, web based, or CD/Book format depending on course and your preferences. | |
Re: A String is not an array of characters in Java (in this Java differs from for example C and Pascal). The compiler is quite correct and extremely helpful in pointing out that you're trying to use a String as if it were an Array (yes, arrays are also objects). | |
Re: Or are you linking to a 3rd party library which may be missing something? | |
Re: Controls will always take up all available room in a layout manager. That's guaranteed by the AWT API (on which Swing builds). So your answer is no, you can't prevent the sliders from changing their size. | |
Re: The Sun compiler is the ONLY official one for the language. There are others that are certified to be correct but the Sun package (which you claim doesn't work...) is the standard. Anything that doesn't compile with that should not compile with anything. | |
Re: properties consist of simple key-value pairs with 1 value per key. You seem to want multiple values per key which is not directly supported. There are ways around this but it would be far better to take another mechanism like XML to store your data. | |
Re: And the crucial question: do you have permission from your boss to pilfer his customer data? I'd think you're trying to steal from your boss here, that data is not yours for the taking without permission (which would require permission from each individual customer in many countries). And if you … | |
Re: Are you sure the library is built for your compiler? You might have to build it from source first if it was compiled against another compiler (version). | |
Re: Correct. Buy Head First Java and work your way through that. The only thing which gets close in quality is the official Sun tutorial. | |
Re: wrong forum would be the first thing that's wrong with it... You don't need that reader either. And then your calculation will of course always yield an integer value as you're working with only integers. | |
Re: Java will initialise all elements of an array to null when you create the array itself. Your Details (ALWAYS, ALWAYS, ALWAYS capitalise classnames) class should have a public setName(String name) method. You should indeed also initialise the array elements yourself. | |
Re: oh, they can monitor you just fine. After all, every bit of data you use comes in through their servers so they can count them all. They'll just use a more sophisticated mechanism... And they may even cut you off completely for violation of contract by blocking their metering software … | |
Re: Runnable is used in multithreading. The run() method is used by a Thread instance when the thread is running. You never call it directly! | |
Re: The speed increase you're seeing is mostly psychological. The real performance increase in the machine is small enough you'd hardly ever notice it (unless maybe in extremely CPU starved applications where it may make a difference between behaviour that is just fluid and behaviour that is just stuttering). ![]() | |
Re: Given the transfer speed you'd need an hour or more to upload that gigabyte even on a 2MB SDSL connection. Just buy a 1GB flashdrive, they're dirtcheap and a lot faster. Your ISP will love you, which may mean no disconnects due to going over your datalimit :) And if … | |
Re: As to washers: remember that the motherboard is grounded to the case through the screws. Washers might prevent grounding leading to charge buildup which can cause serious problems (including shorts and sparking). | |
Re: Overclocked CPUs don't last nearly as long as do ones running at the listed speed. The performance gain from moderate overclocking is also so low it's not worth the trouble and severe overclocking will have severe impact on the service life of your system (cutting it down from years to … |
The End.