Search Results

Search found 2 results on 1 pages for 'norbi'.

Page 1/1 | 1 

  • progress view stop button listener

    - by Norbi
    Hi! I develop an eclipse plugin and I added an eclipse progress view to it. There is an stop button on the progress view and I want to create some kind of listener to handle the events of the chancel button, but I don't know how I can do it. I know the monitor has an isChancel() method, but I have to create come kind of listener to listen when user clicks the stop button, while the plugin works. Please give me some advice. Thanks Example: link text

    Read the article

  • Java process problem in Eclipse

    - by Norbi
    Hi! This is my code: final String run_tool ="cmd.exe /C pelda.exe"; final Process tool_proc = null; Runnable doRun = new Runnable() { public void run() { try { tool_proc = Runtime.getRuntime().exec(run_tool); } catch (IOException e) { e.printStackTrace(); } } }; Thread th = new Thread(doRun); th.start(); InputStream toolstr = tool_proc.getInputStream(); After the eclipse gives this warning message fot the tool_proc variable: The final local variable tool_proc cannot be assigned, since it is defined in an enclosing type I dont't know why my code doesn't work please help me

    Read the article

1