Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2007

Tip: Looking for answers? Try searching our database.

help needed

Thread view: 
Kumar - 10 Apr 2007 22:21 GMT
I had some knowledge of the shell scripting.
I had written my shell scripts for my application.

I want creat a GUI i.e I want to provide some buttons so that the
script will run on clicking that button. Also I have used shell
scripting in Linux. I am not aware of them how to use in Windows. Can
any one elaboarate on this?

How should I create that in Java and which part should I read for
that?

Kumar
a24900@googlemail.com - 10 Apr 2007 22:58 GMT
> I had some knowledge of the shell scripting.
> I had written my shell scripts for my application.
>
> I want creat a GUI i.e I want to provide some buttons so that the
> script will run on clicking that button. Also I have used shell
> scripting in Linux. I am not aware of them how to use in Windows.

Shell scripting tools are off-topic in a Java group. So only a few
words:

You can get the cygwin environment for Windows, which contains among
many other things a bash if you need Unix compatibility.

Windows until recently did not have any native scripting tools worth
mentioning. cmd/bat is sh.t, WSH is sh.t. Recently Microsoft released
Windows PowerShell. That one has potential, but is of course not
compatible with anything existing.

> Can
> any one elaboarate on this?

Try a windows (scripting) group.

> How should I create that in Java and which part should I read for
> that?

Forget Java for this. Depending on your platform look at zenity,
kdialog, dtksh, xmessage, perl/Tk, gtk2-perl, PyQt, wxPython or any
other scriptable GUI tool or toolkit+language integration. Ask in an
appropriate group for details.
Wojtek - 10 Apr 2007 23:09 GMT
a24900@googlemail.com wrote :
>> I had some knowledge of the shell scripting.
>> I had written my shell scripts for my application.
[quoted text clipped - 8 lines]
> Windows until recently did not have any native scripting tools worth
> mentioning.

Well there is REXX: http://www.rexxla.org

I know it is not native, but there are libraries which allow it to
interact with the Windows environment, such as the registry.

Signature

Wojtek :-)



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.