• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Web Start  RSS feed

 
Kushagra Bindal
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I want to to select the .doc file from my local machine and want to process the files. I want this with the help of JWS. For that I have to prepare the Swing application to browse and then select the file. Can anybody share the code so that it would be easy for me to do the further coding.


Thanks in advance.

Kushagra
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am confused.
If you get the code, what "further" coding are you planning to do?
Have you read this?
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Specifically, what do you have so far, and where are you stuck making progress?
 
Kushagra Bindal
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have generated two screen on Swings that will open the file and then after that will process on the same. But I don't seems it as much efficient in look. So thats why I was asking for a code in which I can see where was I lag.

If anybody can help me means for UI and look n fill perpective. Otherwise I have done most of my coding.

Thanks for all your support.

Kushagra
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm afraid it's still quite unclear what you have, and why that isn't good enough. For example, you mention how it doesn't seem efficient - what does that mean? If it works correctly, how could it be more efficient? If it doesn't work, then it's meaningless to talk about efficiency.
[ October 15, 2008: Message edited by: Ulf Dittmer ]
 
Ananth Chellathurai
Ranch Hand
Posts: 349
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kushagra,

Can you please explain us clearly on what you have done so far? Do you have problems in the look and feel? Any alignment issues? If yes share us your code to help you.

Regards,
Ananth Chellthurai
 
Paul Clapham
Sheriff
Posts: 22521
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So far I haven't seen anything specific to JNLP in this thread, and I think it should be moved to the Swing forum. But then there really aren't enough specific details for me to know.

Kushagra, are you having problems with this code because you're running it in a JNLP environment? In other words are there problems which don't exist when you run it as an ordinary Java application? If not, let me know (either by PM or by posting here and saying so) and I will move this thread to the Swing forum for you.
 
Kushagra Bindal
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ya we can move this to swing forum and i think that will be better.

thanks
Kushagra
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Kushagra Bindal: But I don't seems it as much efficient in look.
If anybody can help me means for UI and look n fill perpective.[/QB]


Just a wild guess as you havent posted any screen shots.
You are getting the default LAF and you are not quite happy with it.

Add this as the first line in your main method

That should fix your problem.

PS. I hope you have gone through this article:
http://java.sun.com/docs/books/tutorial/uiswing/components/filechooser.html
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!