Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » IOConsole inputStream read Hangging!
IOConsole inputStream read Hangging! [message #1369441] Tue, 20 May 2014 15:38
André Ramos is currently offline André RamosFriend
Messages: 8
Registered: April 2014
Junior Member

My IOConsole keeps hangging in the read Mad , how can i solve it?

IOConsole consol = new IOConsole("Wazza Console",null);
ConsolePlugin.getDefault().getConsoleManager().addConsoles(new IConsole[] { consol });
IOConsoleOutputStream out = consol.newOutputStream();
IOConsoleInputStream in = consol.getInputStream();
BufferedReader in2 = new BufferedReader(new InputStreamReader(in));
PrintWriter out2 = new PrintWriter(new OutputStreamWriter(out));
out2.flush();; //Hangging here
out.write("Pray Dude, Pray");

} catch (Exception e1) {
// TODO Auto-generated catch block
Previous Topic:How to implement my own console?
Next Topic:Defining auto-start and Start Level during feature installation
Goto Forum:

Current Time: Sun Nov 29 23:06:37 GMT 2015

Powered by FUDForum. Page generated in 0.06755 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software