How i can print wmi query in jList or jTable?
<p>I have this code but i don't know to display in jList or jTable </p>

<p>This code i have still println</p>

<pre><code>try {
  Process sysProcess = Runtime.getRuntime().exec(new String[] { "wmic", "product", "get", "name",",","version" });
  BufferedReader streamReader = new BufferedReader(new InputStreamReader(sysProcess.getInputStream()));

  Scanner sc = new Scanner(sysProcess.getInputStream());
  String line = sc.nextLine();

  while((line=streamReader.readLine())!=null) {                
    System.out.println(line);
    }
  }
catch (Exception e) {
    System.err.println(e.getMessage());
    }
</code></pre>