Geoff Jefferson

Ranch Hand
+ Follow
since Apr 09, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Geoff Jefferson

>> lso, there is a forum here at the Java Moose Saloon that can answer GUI questions
specifically, see the Swing forum for this.

Ooops, your already here. My apologies. I've been between forums and forgot where I was!

12 years ago
>> here is custom Table code but I want to add it in GUI Builder Netbeans. how can we do this.

If you want to add a JTable to your GUI in NetBeans you can do this from within the IDE.
There is a palette that enables you to add components there.

Also, there is a forum here at the Java Moose Saloon that can answer GUI questions
specifically, see the Swing forum for this.

G.

12 years ago
My guess would be as many as you need base on what you want from
your component.

Take a look at:

http://download.oracle.com/javase/tutorial/uiswing/events/intro.html


G.

12 years ago
You have declared many members (variables).
Have you assigned anything to them?

Take a look at:

http://download.oracle.com/javase/tutorial/java/javaOO/classvars.html

G.

12 years ago
Awesome!
Thank you.
12 years ago
>> The body of the for loops does what?

That's where I'm having trouble. I can't figure out how to assign, or copy obj to a new array.
12 years ago
I cannot figure out how to copy array from ObjectInputStream beginning on line 95.

12 years ago
Why couldnt I cast it to string?
12 years ago
Please bear with me. Even though I got the results I was looking for in this example. I am still a little unclear
on what my output was someting like ... [Ljava.lang.Object;@1e0bc08

What is the a representation of the index of the array?

12 years ago
>> You're making things too complicated if that's what you assumed.

I do have a tendancy to make things more difficult.
I re-wrote the loop and everything is working as exected.

Thank you.
G.
12 years ago
...until now. When I use the array as an argument to a method and then us Object.toString()

I still get [Ljava.lang.Object;@e24e2a.

12 years ago
Thanks Rob, your explantion solved my problem.

G.
12 years ago