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 Friend
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 ScheglovFriend
Messages: 555
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".
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 Friend
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 Friend
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: Wed Sep 28 07:06:45 GMT 2016

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

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