5,727 Posted Topics

Member Avatar for java_programmer
Member Avatar for jwenting
0
110
Member Avatar for bmcmullen

AutoCAD can be scripted using VBScript. I've seen it done but never done it myself, I guess there are books dedicated to the system (and probably a lot of documentation included with the product).

Member Avatar for hendie
0
109
Member Avatar for provenshop

Follow the links on [url]http://java.sun.com[/url] I don't think you can download them though, they're in the form of web pages.

Member Avatar for aniseed
0
147
Member Avatar for potential

Look at the big button on your keyboard marked "Caps Lock". Press it until the CAPITAL LETTERS go away.

Member Avatar for Dave Sinkula
0
2K
Member Avatar for rixius

moveon is an ultraleft organisation that would have the government install active censorship of your internet activity not dissimilar to what the government of countries like Cuba and North Korea do. That, combined with the communist, anti-business, ranting tone of your post says enough about the validity of it.

Member Avatar for alc6379
0
472
Member Avatar for sam1

depending on what you mean by "send", of course. That's pretty much how 99% of network protocols work (simplified of course, the actual stuff that's sent is a lot more complex in many cases).

Member Avatar for Phaelax
0
125
Member Avatar for Katrix36
Member Avatar for Psyqwix

You're going to be reading files over an HTTP (most likely) network connection. That should give you a strong indication of the direction you want to look at. There is a nice book that was written about 2 years ago in which the authors create (among other things) a download …

Member Avatar for Psyqwix
0
129
Member Avatar for nabil1983

you're trying to access an instance method like it were a static method, that's not allowed. That entire ScheduleMenu class seems rather out of place in a Swing application anyway.

Member Avatar for jwenting
0
150
Member Avatar for hsharma65

You've not done a lot have you? Any JDBC tutorial or book will tell you how to do your thing.

Member Avatar for aniseed
0
254
Member Avatar for nabil1983

always use the absolute minimum scope for variables that you can. NEVER EVER use globals unless there's really no way around it (and if there isn't your design is likely flawed).

Member Avatar for DeepZ
0
224
Member Avatar for iamthwee

Vector is an old legacy class that's been replaced by far more efficient mechanisms. Its main problem is its poor performance, using ArrayList can under circumstances give you an order of magnitude higher speed. StringTokenizer is similar. Use the split() method (for example, there are other mechanisms depending on what …

Member Avatar for aniseed
0
249
Member Avatar for mperkins07

yeah, what is the question? And no, the Date class is NOT deprecated. It's just had its scope reduced to the task of tracking time, which is what it should have been in the first place.

Member Avatar for Phaelax
0
152
Member Avatar for sunny82

"illegal start of expression" is almost always the result of either a typo or of forgetting some braces.

Member Avatar for sunny82
0
196
Member Avatar for >shadow<

ah, another online petition. One of the million or so started each month, and ignored just as quickly. I could start a petition to ban petitions, even that would get votes quickly as there are a lot of people who'll sign anything without even reading it.

Member Avatar for nizzy1115
0
254
Member Avatar for mohamad11

Don't use Writers and Readers. They work ONLY on line input, which means you'll always get a line terminator.

Member Avatar for jwenting
0
856
Member Avatar for moon_light

[QUOTE=server_crash]I couldn't find anyone by the name of 'u' in the memberlist?[/QUOTE] nor could I find anyone with the name "plz" :cheesy:

Member Avatar for jwenting
0
203
Member Avatar for sam1

Readers and Writers work only on line based character data, so plain text files. For anything else, you MUST use Streams.

Member Avatar for jwenting
0
247
Member Avatar for sam1
Member Avatar for Vedavyas

One of the strengths of C (and C++ and other languages) is that you can do just about anything you want. An image file is nothing more or less than a collection of data. If you know the algorithm you can decipher that data. [url]http://www.wotsit.org/[/url] has a lot of information …

Member Avatar for Vathanak
0
824
Member Avatar for cancer10

there are no trial versions of any Windows version. Nor are there any versions (officially) called "XP 2004". Might be a pirate's name for XP SP2.

Member Avatar for MIGSoft
0
175
Member Avatar for Mr.coolguy

most database engines will allow you to create a database with a single command or by filling out a single dialog box. Can't get much easier than that.

Member Avatar for Mr.coolguy
0
145
Member Avatar for arekondaramesh

[code]StringBuffer s1=new String Buffer("hello"); StringBuffer s2=s1;[/code] creates a compiler error. [code]StringBuffer s1=new StringBuffer("hello"); StringBuffer s2=s1;[/code] creates at most 2 objects, a StringBuffer on the heap which lasts for the scope of the method, and a String on the String constant pool (unless one already exist for the string "hello" in …

Member Avatar for kiran kumar
0
225
Member Avatar for lwinn213

what do you mean, it "cannot see the server"? Log the remote object as it is returned, what are you getting for the endpoint? If your hostsfile is configured wrong your server might pass your clients an incorrect IP address to use when making calls on the remote object, leading …

Member Avatar for jwenting
0
1K
Member Avatar for reel-life
Member Avatar for computergenie
Member Avatar for baron

do your own homework, don't just go whining that you're late starting and would someone please do it for you as it won't get you any sympathy.

Member Avatar for alc6379
0
169
Member Avatar for tlyons86

We're not here to do your work for you, so we don't have to understand it. I'm not going to read all that, that's your job. It's also your job to understand it. If you're too lazy to read it, so be it but you're going to fail your assignment …

Member Avatar for tlyons86
0
147
Member Avatar for iamthwee

try things like JGraph or JXGraph. I've not used them myself but seen some output and it looks good. [url]http://today.java.net/pub/a/today/2006/04/20/bringing-swing-to-the-web.html[/url] might give some pointers.

Member Avatar for iamthwee
0
120
Member Avatar for arekondaramesh
Member Avatar for parandhaman
Member Avatar for sam1

You should always close resources after you're through with them, and scarce resources like database connections should be treated more carefully than most. While an application should release them when closing, it's always good practice to do so deliberately, and make certain you don't keep them open longer than needed. …

Member Avatar for sam1
0
286
Member Avatar for an051682
Member Avatar for MIGSoft

you forgot to "clean up" the dialogue to use hax0r sp33k and tm shorthand in overabundance.

Member Avatar for jwenting
0
41
Member Avatar for Dark_Omen

Better yet: just learn to use the toold you get without using an IDE to hide it all from you.

Member Avatar for jwenting
0
185
Member Avatar for sam1

A class diagram has no direct relationship to the usecase diagrams. A single usecase may use classes from several class diagrams (typically you'd have one class diagram per package for example, plus several linking packages together maybe). similarly a single class diagram may provide classes that are used on several …

Member Avatar for sam1
0
182
Member Avatar for modernage

Short answer: you don't. Way too complex to achieve what you can do far more easily with just 2 commands. Which those are I leave to you, the API documentation is your friend.

Member Avatar for modernage
0
455
Member Avatar for clarinetalex

hmm, who should want to give Google access to their entire corporate email system? The security implications (giving all your corporate communications to an outside party who reserves the right to do whatever they want with it including selling it to the highest bidder) outweigh even the massive privacy problems …

Member Avatar for ShaneMcP
0
157
Member Avatar for Coach_Nate

that is correct. A class is loaded when first needed by the JVM (or more precisely the classloader, of which there may be several inside a single JVM) and not unloaded until the classloader terminates (which in many environments happens only on JVM termination, given that the classloader is itself …

Member Avatar for jwenting
0
107
Member Avatar for crws416

You did some modification to the code JBuilder generates for you I see ;) You will need to design your screen and hook up the controls to enable the interaction. You should also go for a proper object oriented approach, which would have the RMI functionality separate from the user …

Member Avatar for jwenting
0
109
Member Avatar for aarya

[code]Class.forName("MySql ODBC 3.51 Driver"); [/code] and you wonder why it won't load? Go read the documentation...

Member Avatar for jwenting
0
107
Member Avatar for sandesh_daddi

What about a spellchecker with automatic correction of incorrect puntuation and capitalisation?

Member Avatar for DMR
0
344
Member Avatar for fdrage

That's indeed the method you want, but most likely you're not calling it correctly. Without knowing what you're doing and what's happening as a result it's impossible to say more than that.

Member Avatar for jwenting
0
121
Member Avatar for freesoft_2000

yup, they can just decide to block any package that doesn't come from an allowed host for example. That's exactly how corporate firewalls often work. Or block specific protocols. Or both.

Member Avatar for alc6379
0
96
Member Avatar for Shackbase

Most dollar coins end up in collections (they're often limited run items) and the rest are used in the few sales machines that don't take dollar bills... It was decided to go with €2 coins because of the amount of circulation such small denominations get. A coin lasts a lot …

Member Avatar for The Dude
0
1K
Member Avatar for destin

You're moving into an area where you will have to write a proper design document, storyline, and things like that before you even think of coding. As to why C++ is more common in game programming, that's pretty much historical. In the beginning Java just lacked the capabilities in both …

Member Avatar for jwenting
0
239
Member Avatar for dgrblr

A JPanel has to exist inside something else. To show it on screen that will usually be a JFrame or a JDialog. When you have one of those you can easily display them, both have methods to achieve that.

Member Avatar for dgrblr
0
168
Member Avatar for iamthwee

no, since there is no reason for most of your potential users not to have a 1.5 JVM installed. There are a few operating systems that don't have one available, but not a lot of people use those, certainly not a lot of people using public domain software.

Member Avatar for jwenting
0
107
Member Avatar for freesoft_2000

uh, you're saying it appears in both 1.4 and 5.0... That may not be what you intended to say though ;) I hardly if ever use the runtime class, never really needed it. And you don't either. If you dive into the Java API you'll find out how to run …

Member Avatar for jwenting
0
187
Member Avatar for Sheki RDH

doesn't seem like a logical solution to me, but then I'm used to scientific calculators with built-in equation editors ;) Create the entire equation as a single string and parse that using (for example) a recursive descent parser. There's a nice book that does pretty much just that in one …

Member Avatar for iamthwee
0
160

The End.