Search:

Type: Posts; User: allisbs

Search: Search took 0.19 seconds.

  1. Replies
    9
    Views
    974

    Re: GOing from VB to Java

    So the user selects a file and the file and path get put into the the text box called "txtInput". I want the user to be able to click a button that will open that file in a text editor. I will look...
  2. Replies
    9
    Views
    974

    Re: GOing from VB to Java

    So here is what I put.

    java.awt.Desktop.getDesktop().edit(txtInput.getText());

    NetBeans says, "Incompatible types: String cannot be converted to file. txtInput.getText()
  3. Replies
    9
    Views
    974

    Re: GOing from VB to Java

    Yes I want the file to open in wordpad, or textedit(MAC) or the equivalent on Linux.
  4. Replies
    9
    Views
    974

    GOing from VB to Java

    I have an app that was written in VB and I would like to create the same app in JAVA, so that it works on all platforms.
    I have a button that when clicked opens the specified file in a text box.
    ...
Results 1 to 4 of 4