Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » code generate is strange
code generate is strange [message #685021] Thu, 16 June 2011 17:04 Go to next message
lamia100@naver.com  is currently offline lamia100@naver.com
Messages: 5
Registered: June 2011
Location: korean
Junior Member
create Event Handler anonymous class

btnNewButton.addActionListener(new ActionListener() {
				public void actionPerformed(ActionEvent arg0{
				}
			});


i want

btnNewButton.addActionListener(new ActionListener() {
				public void actionPerformed(ActionEvent e) {
				}
			});


'agr0' is long...

sorry my strange english
Re: code generate is strange [message #685039 is a reply to message #685021] Thu, 16 June 2011 17:39 Go to previous messageGo to next message
Konstantin Scheglov is currently offline Konstantin Scheglov
Messages: 554
Registered: July 2009
Senior Member
Most probably you use JRE instead of JDK, so no sources attached, so Eclipse can not know that this argument has name "e".

Konstantin Scheglov,
Google, Inc.
Re: code generate is strange [message #685326 is a reply to message #685039] Fri, 17 June 2011 09:30 Go to previous message
lamia100@naver.com  is currently offline lamia100@naver.com
Messages: 5
Registered: June 2011
Location: korean
Junior Member
Oh!!!!
i use 'translated java api document'
if use 'jdk\src.zip' can't use 'translated java api document'

Thank you!
(no subject) [message #685343 is a reply to message #685039] Fri, 17 June 2011 09:30 Go to previous message
lamia100@naver.com  is currently offline lamia100@naver.com
Messages: 5
Registered: June 2011
Location: korean
Junior Member
Oh!!!!
i use 'translated java api document'
if use 'jdk\src.zip' can't use 'translated java api document'

Thank you!
Previous Topic:Additional binding types for XWT
Next Topic:SWT Tree and treeItem errors in design view
Goto Forum:
  


Current Time: Tue Sep 16 03:03:48 GMT 2014

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

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