Do we need to implement processAction method for such a requirement. JavaRanch에 오신 것을 환영합니다, Jackie! You can use the code button in the editor to wrap Java code and XML with tags that will make your samples more readable.