want to open window in java
1 posts in topic
Flat View  Flat View

Posted By:   Kirti_Wanjale
Posted On:   Wednesday, December 8, 2004 01:14 AM

In my project there is one option called "EDIT". If user clicks that then a new window above existing should get open for editing like "Notepad" in windows or "vi editor " in Linux because the user of my project could be windows based or linux based. How to do that kindly help.

Re: want to open window in java

Posted By:   Christopher_Koenigsberg  
Posted On:   Saturday, December 11, 2004 08:49 AM

I think (?) it is very OS-dependent, e.g. not a Java portable issue at all, e.g. how you would determine what application the current user's environment (or the default they've inherited from their OS shell) wants you to invoke, for editing a given file/document, and then how to invoke that application.

You might be better off just invoking a pure Java editor, perhaps? or else provide a property configuration, where the user would let you know what editor application they want you to use.
About | Sitemap | Contact