Type: Posts; User: Trey

Search: Search took 0.30 seconds.

  1. Re: How to Navigate to a URL with Runtime.getRuntime().exec()

    I've always used:

    if (Desktop.isDesktopSupported())
    Desktop.getDesktop().browse(new URI(""));
  2. Thread: java swing help

    by Trey

    Re: java swing help

    To add an image to a swing component simply create a new label without any text and use setIcon(Icon) to set its icon.
  3. Re: help writeing to a jtextarea from a diffrent class

    Currently you have the button on a JPanel, so the parent of the button is the panel. Your trying to access the PFrame object, which is the parent of the JPanel:

    class ActListener implements...
Results 1 to 3 of 3