Dan Patterson

Greenhorn
+ Follow
since Jan 27, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Dan Patterson

Cat A = new Cat();
Cat B = A; <= This line is not creating a new object, it is making "B" a refernece to the already created object that Variable A is pointing to.

Cat A and B are reference variables that are referencing the same object which is created in the new Cat() line.
18 years ago
Hava a look at OCAP, it is what Digital Cable Set-top boxes are being built on for the future.

http://www.interactivetvweb.org/index.shtml
18 years ago
The Java Gnome website would be a good start, looks like they got beginner tutorials, etc. http://java-gnome.sourceforge.net/cgi-bin/bin/view
18 years ago
J# is there .NET java version, I beleive it is schedlued to be EOL'd at the end of 2007.
18 years ago
You should look at the Calendar class, it looks like it has everything you are looking for. Dates getTimezoneOffset() has been deprecated since JDK 1.1.
18 years ago
SwingWorker is an abstract class that enables you to execute your GUI code on the Event Dispatching Thread easier. It allows you to run a task on a new thread and when that thread returns any GUI updates, the updates are done on the EDT. It helps make your Swing programs more thread safe.
Someone may have a better idea, but you could try this. Put a yield() after the text change.


18 years ago
I believe it has something to do with Hibernate, may want to look on their Homepage or forums pertaining to it.
true, false, and null are not keywords but they are reserved words, so you cannot use them as names in your programs.
18 years ago
What does inline mean?
18 years ago
JComboBox does not have a constructor that takes an array of ints.

Constructor Summary
JComboBox()
Creates a JComboBox with a default data model.

JComboBox(ComboBoxModel aModel)
Creates a JComboBox that takes it's items from an existing ComboBoxModel.

ComboBox(Object[] items)
Creates a JComboBox that contains the elements in the specified array.

JComboBox(Vector<?> items)
Creates a JComboBox that contains the elements in the specified Vector.

You could always change your ints to int objects.

Are you using J2SE 5.0?, if so I thought autoboxing and autounboxing would take care of this, maybe somebody can speak to this, im not sure about it.
18 years ago
I used the Just Java book when I first started and it worked fine, can't speak to the other book(s) though. I beleive Just Java is up to the 6th edition, its a pretty solid book for a beginner.
18 years ago
Sure, why not? You can master anything you want if you have the time. I just recently began C# .NET after using Java for a few years. It is a pretty decent language and platform.