Results 1 to 5 of 5
  1. #1
    aarthi2learn is offline Member
    Join Date
    Dec 2008
    Posts
    5
    Rep Power
    0

    Default passing a parameter

    hai all..

    how to pass a parameter to an input box that is created using java swings?

    i want to pass command prompt commands "example: copy filea fileb" as parameters in the input box and the output should be executed.

    pls let me know soon..

    thanks in advance

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,189
    Rep Power
    19

    Default

    What's an input box?

    db

  3. #3
    aarthi2learn is offline Member
    Join Date
    Dec 2008
    Posts
    5
    Rep Power
    0

    Default input box

    its an interactive feature in swings that lets the user to give his input.

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default

    First off, it's "Swing" not "swings". Secondly, there is nothing in the Swing library called an "input box". Do you mean a JOptionPane? And if so, which one? Do you have an example of what you are trying to do, even an example that doesn't work?

    I'm not trying to nitpick too much, but the more clear and unambiguous your question, the better chance you'll get a useful answer.

  5. #5
    aarthi2learn is offline Member
    Join Date
    Dec 2008
    Posts
    5
    Rep Power
    0

    Default thanks

    thanks.. i am a fresher to java so i didnt know it. And, yes i am using JOptionPane. Actually i want to get any command prompt commands for example dir,copy filea fileb like that from the user and execute those commands like we execute it in a dos(or the command prompt)window.

    and also i want to know about iWay software that helps in integration of 2 different purpose. do u have any idea about this software?

Similar Threads

  1. Can a method take itself as parameter?
    By bukake in forum New To Java
    Replies: 10
    Last Post: 09-06-2008, 09:26 PM
  2. Retrieving a parameter through URL.
    By hisouka in forum Java Servlet
    Replies: 1
    Last Post: 09-06-2008, 12:45 PM
  3. Passing short value as parameter
    By javanewbie83 in forum New To Java
    Replies: 16
    Last Post: 07-16-2008, 05:27 AM
  4. passing an enum type as a parameter ??!
    By SCS17 in forum New To Java
    Replies: 11
    Last Post: 07-13-2008, 01:44 PM
  5. arugment/parameter
    By ravian in forum New To Java
    Replies: 5
    Last Post: 01-04-2008, 09:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •