Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-25-2008, 04:47 PM
Member
 
Join Date: Jun 2008
Posts: 23
itmani2020 is on a distinguished road
To open an image file such as Jpeg file using JAva Program
Hi,
I m trying to open one JPEG file in MS Paint by a JAVA Program...Can anyone help me,

Thanks in Advance,
Mani
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-25-2008, 05:21 PM
rjuyal's Avatar
Senior Member
 
Join Date: Mar 2008
Location: Delhi, India
Posts: 187
rjuyal is on a distinguished road
you want this chap!

Code:
process = new ProcessBuilder("mspaint","yourFileName.jpeg").start();
__________________
i am the future
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 06-25-2008, 08:45 PM
Niveditha's Avatar
Senior Member
 
Join Date: May 2008
Posts: 299
Niveditha is on a distinguished road
Send a message via Skype™ to Niveditha
I think even Java Advanced Imaging (JAI) can help u out. I have not tried it, chk and come back if facing any problems.
__________________
To finish sooner, take your own time....
Nivedithaaaa
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 06-26-2008, 10:12 AM
Member
 
Join Date: Jun 2008
Posts: 23
itmani2020 is on a distinguished road
Thanks for u r reply.....................
@Niveditha by using JAI i m able to open the image................canu be more specific on it.how to achieve it using mspaint........
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 06-26-2008, 01:06 PM
Niveditha's Avatar
Senior Member
 
Join Date: May 2008
Posts: 299
Niveditha is on a distinguished road
Send a message via Skype™ to Niveditha
Hi,
I feel you will have to get the image, store it in the form you want virtually and then open it.
Check this link for more help
http://www.nanodottek.com/NDT4_08_2006.pdf

Can anyone else give a better solution?
__________________
To finish sooner, take your own time....
Nivedithaaaa
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 06-27-2008, 11:04 AM
Member
 
Join Date: Jun 2008
Posts: 23
itmani2020 is on a distinguished road
Thanks Niveditha......
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old 07-10-2008, 12:43 PM
Member
 
Join Date: Jun 2008
Posts: 23
itmani2020 is on a distinguished road
its working fine..
Bookmark Post in Technorati
Reply With Quote
  #8 (permalink)  
Old 07-10-2008, 12:43 PM
Member
 
Join Date: Jun 2008
Posts: 23
itmani2020 is on a distinguished road
is there any special commands to open a pplication such as winword
Bookmark Post in Technorati
Reply With Quote
  #9 (permalink)  
Old 07-10-2008, 12:44 PM
Member
 
Join Date: Jun 2008
Posts: 23
itmani2020 is on a distinguished road
Can anyone else give a solution?
Bookmark Post in Technorati
Reply With Quote
  #10 (permalink)  
Old 07-10-2008, 12:45 PM
Member
 
Join Date: Jun 2008
Posts: 23
itmani2020 is on a distinguished road
process = new ProcessBuilder("mspaint","yourFileName.jpeg").star t();
Bookmark Post in Technorati
Reply With Quote
  #11 (permalink)  
Old 07-11-2008, 11:57 AM
Niveditha's Avatar
Senior Member
 
Join Date: May 2008
Posts: 299
Niveditha is on a distinguished road
Send a message via Skype™ to Niveditha
Hi,
Check these links, i think it can help you...
1. JavaWorld Forums: how to open a xxx.doc(win98/2k/xp...) in java
2. New To Java - How do I open my UserDocumentation.doc kept inside the jar file.
__________________
To finish sooner, take your own time....
Nivedithaaaa
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get the last modified date of a file from a java program Java Tip java.io 0 04-04-2008 04:45 PM
Poblem in Compiling a c++ file from a java program... Amit Kr. Mishra New To Java 0 11-06-2007 12:41 PM
writing to a excel file from java program priyankabhar New To Java 1 07-10-2007 10:05 PM
Regarding conversion of Image file to Video file RamaDeviMsc Advanced Java 0 06-25-2007 04:28 PM
Simplest way to read and display a jpeg image Hasan New To Java 1 05-31-2007 05:42 PM


All times are GMT +3. The time now is 12:36 PM.


VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org