Search Results

Showing results 1 to 40 of 46
Search took 0.01 seconds.
Search: Posts Made By: Gargol
Forum: Java Nov 10th, 2005
Replies: 29
Views: 17,426
Posted By Gargol
jwenting

Firstly my apology. I mis-understood the real point of your test example. I also think this has led me to make some in-correct statements. Sorry. The mixture of static, final and gc...
Forum: Java Nov 9th, 2005
Replies: 19
Views: 3,937
Posted By Gargol
Have a think about this peice of code and tell me what you think.

import java.util.Vector;

public class Jottings {

//This is the Initialiser Block
//s1 is initialised here
String[] s1 =...
Forum: Java Nov 9th, 2005
Replies: 29
Views: 17,426
Posted By Gargol
OK. I will try to find a documentation reference for you to read.

If you look in the test code you will see that a new Inner object does not initialise the value of i. This means that when it is...
Forum: Java Nov 9th, 2005
Replies: 29
Views: 17,426
Posted By Gargol
When a new object is created from a class an unused part of memory is used for it.

The unused part of memory MAY have been used before or it MAY NOT. All you can be sure of is that it is marked...
Forum: Java Nov 6th, 2005
Replies: 19
Views: 3,937
Posted By Gargol
Forum: Java Nov 6th, 2005
Replies: 19
Views: 3,937
Posted By Gargol
I see our point on Main.
Forum: Java Nov 6th, 2005
Replies: 9
Views: 2,157
Posted By Gargol
How are the dreams going?
Forum: Java Nov 6th, 2005
Replies: 5
Views: 1,563
Posted By Gargol
This is a Java forum.
Forum: Java Nov 6th, 2005
Replies: 19
Views: 3,937
Posted By Gargol
Thanks for the reference.
Forum: Java Nov 5th, 2005
Replies: 19
Views: 3,937
Posted By Gargol
Thanks. Looks like it's the constructor. I understand that design patterns also indicate this although I'm unsure how to check that one out.
Forum: Java Nov 4th, 2005
Replies: 19
Views: 3,937
Posted By Gargol
This ref covers some useful basic stuff on layout.

http://java.sun.com/docs/codeconv/CodeConventions.pdf

Umfortunately it doesn't extend to my initialisation code issue et al.

Anyone have a...
Forum: Java Nov 4th, 2005
Replies: 1
Views: 1,242
Posted By Gargol
As a quick but useful suggestion have you considered using a whole class to represent just one of your data items. It often works well because you can then seperate the handling of multiple items...
Forum: Java Nov 4th, 2005
Replies: 10
Views: 4,278
Posted By Gargol
Perhaps it is more uncommon than I realised, yet when you register your address on any mail-order, or bank, site the fields appear in a vertical row every time. I guess they don't use a Jtable! ...
Forum: Java Nov 4th, 2005
Replies: 19
Views: 3,937
Posted By Gargol
Anyone know of some simple best practice lists somewhere? Searching the sun link above is a bit blinding.

Here is a simple issue which new Java programmers meet quite quickly...

If I write a...
Forum: Java Nov 4th, 2005
Replies: 29
Views: 17,426
Posted By Gargol
A few comments on your garbage collection code...

Looks like your Inner class isn't an inner class. This may confuse some readers.

I see the point you are making but your example uses two...
Forum: Java Nov 4th, 2005
Replies: 29
Views: 17,426
Posted By Gargol
Your'e right, but I didn't say there WAS a gaurantee. You used the word.

I accept and for the sake of all other readers of this thread. A peice of memory may never be garbage collected. EVEN if...
Forum: Java Nov 4th, 2005
Replies: 7
Views: 1,458
Posted By Gargol
Are you talking about Java?
Forum: Java Nov 3rd, 2005
Replies: 29
Views: 17,426
Posted By Gargol
You said Dotz had a different point of view but my point was complementary really. Others have explained that Dotz was talking about a final. You didn't ask about a final so I returned to your...
Forum: Java Nov 3rd, 2005
Replies: 9
Views: 2,157
Posted By Gargol
I'll try thinking in Generics then.

Thanks!
Forum: Viruses, Spyware and other Nasties Nov 3rd, 2005
Replies: 4
Views: 4,686
Posted By Gargol
Have you tried uninstalling?
Forum: Java Nov 3rd, 2005
Replies: 5
Views: 1,570
Posted By Gargol
Maybe someone should tell you that you are being a bit ambitious!
Forum: Java Nov 3rd, 2005
Replies: 5
Views: 6,516
Posted By Gargol
As a general point. Because Java uses objects for just about everything many comparisons and assignments use objects.

All objects are referenced from a variable of some type which points to the...
Forum: Java Nov 3rd, 2005
Replies: 3
Views: 3,012
Posted By Gargol
Casting with Strings can be tricky. Use "toString" if you can.
I came across this one recently which interseted me...

i is an int, value is an Object and intf is an Integer Number Format
and...
Forum: Java Nov 2nd, 2005
Replies: 15
Views: 3,351
Posted By Gargol
When you refer to JBuilder is it Foundation?

I am using the standard Eclipse installation. Does it have any support for GUI layout. It seems very scarce. I havn't installed any add-ons.
Forum: Java Nov 2nd, 2005
Replies: 10
Views: 4,278
Posted By Gargol
You got it. I was doubting my communicaions skills big time!

The concept of swapping the row column meaning is spot on. Wish I had thought of describing it like that. Could also be described...
Forum: Java Nov 1st, 2005
Replies: 10
Views: 4,278
Posted By Gargol
I had better describe my requirement in a different way. This is not a different problem so hopefully it will make the issue clearer.

I have some data values which could be compared with fields...
Forum: Upcoming News Stories Nov 1st, 2005
Replies: 6
Views: 2,372
Posted By Gargol
After using it for a day I felt at home with the new look and feel. There are clearly some good artistic sills in the support team as well as the depth of development experience which shows...
Forum: Java Oct 31st, 2005
Replies: 3
Views: 1,616
Posted By Gargol
How about using synchronise on the Print1to10 class.
Forum: Java Oct 31st, 2005
Replies: 29
Views: 17,426
Posted By Gargol
As I understand it the garbage collector will remove a static variable if all references to it have been lost. This can happen if there are no objects of that class.
Forum: Java Oct 31st, 2005
Replies: 9
Views: 2,157
Posted By Gargol
I've tried to imagine new methods but they don't appear for me the next day!
Forum: Java Oct 31st, 2005
Replies: 2
Views: 1,894
Posted By Gargol
I presume you are not using Java. You have posted in the wrong forum.
Forum: Java Oct 31st, 2005
Replies: 4
Views: 4,653
Posted By Gargol
From your last post I assume that you have now implemented an AbstractTableModel.
Forum: Java Oct 31st, 2005
Replies: 1
Views: 2,805
Posted By Gargol
Make sure getColumnCount returns non-zero too.
Forum: Java Oct 31st, 2005
Replies: 10
Views: 4,278
Posted By Gargol
I want to edit one record at a time and display it in a column. There are several fields which are fairly wide and if I use a column for the display then it will fit on the screen.

If I use the...
Forum: Java Oct 31st, 2005
Replies: 10
Views: 4,278
Posted By Gargol
I am prepared to be corrected if I am wrong but...

The Jtable is a pretty powerful and useful object.

As I understand it the JTable is designed to hold one object type in each column. For...
Forum: Java Oct 31st, 2005
Replies: 15
Views: 3,351
Posted By Gargol
I thought the article very good too. The Layouts issue will run and run I'm sure but being fairly new to Java I'm still finding it difficult to code my screen layouts.

Let me set a context for a...
Forum: Network Security Oct 24th, 2005
Replies: 1
Views: 3,984
Posted By Gargol
If you are using broadband now try to access the modem control page to check if your local tcp/ip is ok with IE. The address is usually at http://192.168.0.1
Forum: Apple Hardware Oct 24th, 2005
Replies: 1
Views: 4,509
Posted By Gargol
As a quick test you could disable the WEP for 5 minutes to see if the driver appears. WEP probably not the problem but this would eliminate the possibility. If the code has been changed recently of...
Forum: Apple Hardware Oct 24th, 2005
Replies: 1
Views: 2,719
Posted By Gargol
crucial.com is great for this sort of check.
Forum: Windows NT / 2000 / XP Oct 24th, 2005
Replies: 2
Views: 1,523
Posted By Gargol
Sounds like hardware if you havnt changed or done something new?
Showing results 1 to 40 of 46

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC