Nickolay Kolev

Greenhorn
+ Follow
since Oct 17, 2002
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
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 Nickolay Kolev

Thanks everyone!
I get it now...
Declare AND INITIALISE, Declare AND INITIALISE, Declare AND INITIALISE... Written a 100 times across my screen.
nmk
19 years ago
That was my bailout strategy. I wanted to do it shorter. I still don't get why it doesn't work.
result[0] is a legal address of the first Hashmap, right?
Sow why can't I "put" anything there?
Thanks anyway!
19 years ago
Hello,
Is such a thing possible? It compiles OK, but I ger ArrayIndex out of bound for the following snippet:
HashMap[] result = new HashMap[5];

result[0].put("name", new String("The Name"));
What is wrong here?
Using Hashtables yields the same result.
Many thanks in advance,
nmk
19 years ago
Hi all,
I am looking into developing webservices with Axis... My tool of choice has been Eclipse for some time now, and I want to keep it that way.

The only plugin that I found combining the two is this one: http://www.improve-technologies.com/alpha/axis/
Has anyone tried it? Any othe suggestions are of course also welcome.
Regards,
N. Kolev
Nope, does not work. Period. I hate it when things don't work as they are supposed to. :-)

Thanks anyway,
nmk
19 years ago
Hi all,
I am wirting servlets and currently have to restart Tomcat for it to recognize any changes.
Is this really necessary (well it is now!!) and if not how is this to be changed?
Tomcat 4.1.18 and JDK 1.4.1 on Linux. Projects are in CATALINA_HOME/webapps/xxx.
Many thanks in advance!
nmk
19 years ago
Hi all,
I am just starting to learn Beans and am fighting my way through tutorials. I have very minimal understanding of Swing...
I need to write a sort of delay Java-Bean... it should listen to ActionEvents (so it should implement the ActionListener interface) and redirect them to a registered ActionListner with a certain delay. This delay is a property of the bean.
I can figure out how to make the delay but not how to tackle the ActionListeners. How do I register a Listener with the bean? How do I make the bean keep a que of all incoming events and redirect them after the delay time is over?
Many thanks in advance,
Nickolay
19 years ago
Hi all,
Is there a way to load a class fo reflection wich is not in the classpath, but rather in the same directory as the reflecting class?
I am trying to load a class and examine its swing components...
Any tips on how this could be achieved?
Many thanks,
Nickolay Kolev
19 years ago
Hi all,
I am trying to make a button which, when clicked, will display a dialog box woth a previously generated string...
Here is how:

but i get the error when compiling that attsStr should be declared final...?? How can I then dynamically generate it?
Many thanks,
Nickolay Kolev
19 years ago
thanks bill!
will try that!
19 years ago
Hi all,
Is there a way to set the width of a panel only? setPrefferedSize and setMaximumSize do work for both dimensions.
I want to place labels on panels but they can get very long, so I want to make the text wrap... But because I have nested panels generated dynamically i never know how many i will get, i can not set a fixed height...
Many thanks,
Nickolay Kolev
19 years ago
Sorry for cross-posting this...
===============================
Hi all,
I am a university student and have just gotten the following assigment. I have to represent java classes as XML documents. To be more specific, I have to represent classes building GUIs... so the presentation is to be kept at the container level. Containers that contain containers, that contain containers a.s.o. should be represented as XML trees...
Could you please give me some tips how this could be achieved? For a starter I have no idea how to add a the presentation class to the class to be presented and how to search for the containers in it... perhaps some predefined classes here??
Also for the second part of the assignment I have to represent XML trees as Java GUIs which doesn't sound any easier...
If anyone has done something like this cares to help I will be very grateful.
Many thanks in advance!
Best regards,
Nickolay Kolev
19 years ago
Hi all,
I am a university student and have just gotten the following assigment. I have to represent java classes as XML documents. To be more specific, I have to represent classes having GUIs... so the presentation is to be kept at the container level. Containers that contain containers, that contain containers a.s.o. shpuld be represented as XML trees...
Could you please give me some tips how this could be achieved? For a starter I have no idea how to add a the presentation class to the class to be presented and how to search for the containers in it... perhaps some predefined classes here??
Also for the second part of the assignment I have to represent XML trees as Java GUIs which doesn't sound any easier...
If anyone has done something like this cares to help I will be very grateful.
Many thanks in advance!
Best regards,
Nickolay Kolev
Thanks!
Quite stupid of me not to thnk about that!
Anyway... That's why I joined the forum, right? :-)
nmk
19 years ago