Kriss Reddy

Ranch Hand
+ Follow
since Mar 29, 2005
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 Kriss Reddy

Hi Bill,
Thanks for the link. You'r answer was my expectation.
Kriss.
Hello,

I would like to know how to process a DOM document returned by a method, below is an excerpt from javadocs about this method.

Thanks,
Kriss.

getXMLDOM
public Document getXMLDOM()
Returns the XML query results as a DOM.

Returns:
The result as a DOM (class Document)
Hello All,
I did a couple of tutorials on JAX-WS based web services using Eclipse, NetBeans on GlassFish and Tomcat. I added server runtime in the IDE and followed the tutorials and everything went on well

I call webservice wsdl like this....http://localhost:8080/MyFirstWS?wsdl
Are these web services deployed on the server? if so Where? I do not see 'MyFirstWS' as a folder under webapps folder of tomcat directory?

Do I have to war my application and deploy on the app server to see a context path?

Please clarify my questions.

Thanks,
Kriss.
10 years ago
Hi Rob,
Thanks for your reply and I am looking into JCIFS. Is there any other option other than JCIFS? Is it possible with java URI?

Kriss.
10 years ago
Hello All,

I want to access files/folders on a remote file share but I do not have access to that file share but I am aware of another user (test user) account credentials who has access to this file share.

Example:
I access files on my machine like this:
File f = new File("C:\\test.txt");

I would like to know how to access content on this remote file share using my java program, more specifically how to pass on test user credentials to this remote file share.

What are my options to access this entire remote file share or some files or folders and by passing access credentials and how to pass these credentials?

Thanks,
Kriss.
10 years ago
Hi Paul,

Tried this, but did not work. Do I need to refresh my tree? If so how to do it, my tree mode is FileSystemModel which implements TreeModel.


Thanks,
Kriss
10 years ago
Hello Paul,
I want to pass the file path as an argument (value of my text field) for my treee when button in clicked.

I am little confused with your reply, What are you suggesting, I should add tree to parent frame or not when button is clicked?

I am able to initialize the tree with file path when the frame is loaded, but I do not want like that. I want to load tree only when button is clicked.

Thanks,
Kriss.
10 years ago
Hi,

I am using net beans gui builder and created a JFrame with a textfiled and a button.

On click of my button I am trying to load and add a tree to the above frame as shown below.




But the tree does not load or appear on my frame. Please help.

Thanks,
Kriss.
10 years ago
Thanks Wouter. Please let me know if you come across some other tutorials because Sun's tutorials are sometimes complicated for my 'slow to understand' brain.
10 years ago
Hello,

First, Thanks for all your help.

I am using net beans gui builder,
Have a JFrame on which I placed two JTrees on left and right side and place a button in the middle. When I click middle button, I copy files from left tree to right tree. This copy logic is implemented in a separate class which I invoke when button is clicked.

So far so good. Now I would like
- to show some kind of status/progress update when the transfer is going on, actually transfer class spits out to System.out.println().
- When transfer is finished, capture that event 'transfer is finished' and show a dialog on which a button is available for user to click which would close the application or reset so that another transfer could start.

I need help in how to implement this not the actual code.

Thanks,
Kriss.
10 years ago
Thanks Michael. I have a login dialog now.

Another question,

I have a JTree on a frame and I want to initialize and populate that tree only after click of a button. How should I implement this?

Thanks,
Kriss.
10 years ago
Hi Paul,

Thanks for your pointer, I noticed that. How does a JTree load its children by default? ie what is the default way of loading its children, what conditions determine this behaviour?

Please point to some easy to understand 'basics' tutorial of JTree, some sun's tutorials are too complicated for me.

Thanks.
Kriss
10 years ago
Hello,

I am new to Swing and would like to know how different swing components communicate with each other. What I mean by components could be anything like dialog, panel, frame etc. How a dialog talks to a frame and how a frame talks to a panel etc.

I am using net beans gui builder to get a quick start, and I made an app using JFrame which works fine - added a file chooser and text box which sets the value of text box to the item selected in filechooser, pretty basic.

Now I want to add (not sure what is right here) a login window so that when I launch this application I need my log in window to appear first, authenticate -pretty simple string comparison is good, then my app in the JFrame created.

Thanks for all your help.
Kriss.
10 years ago