how to link java with html help workshop program

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • najmi
    New Member
    • Sep 2007
    • 46

    how to link java with html help workshop program

    anyone know how to open other application with java button
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by najmi
    anyone know how to open other application with java button
    Have a look at the Runtime.exec() method; you can call it from your actionListener
    that is hooked up to your button.

    kind regards,

    Jos

    Comment

    • najmi
      New Member
      • Sep 2007
      • 46

      #3
      Originally posted by JosAH
      Have a look at the Runtime.exec() method; you can call it from your actionListener
      that is hooked up to your button.

      kind regards,

      Jos
      can you show me an example

      Comment

      • JosAH
        Recognized Expert MVP
        • Mar 2007
        • 11453

        #4
        Originally posted by najmi
        can you show me an example
        There are lots of examples if you read the API documentation for the JButton
        class and the Runtime class.

        kind regards,

        Jos

        Comment

        Working...