how to show error in result in red color in java - by smita I want to show error(text) in result in red color after compiling exec file and display it in textarea of gui using swing in java. Read the article