This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 269472 - java.lang.String is not compatible with java.awt.Window.Type
Summary: java.lang.String is not compatible with java.awt.Window.Type
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3.1
Hardware: PC Windows 10
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-01 15:12 UTC by shesweetfa
Modified: 2017-01-01 15:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shesweetfa 2017-01-01 15:12:44 UTC
I've made project Email Client, and there is a bug for this project
in class ConnectDialog

Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - getType() in emailclient.ConnectDialog cannot override getType() in java.awt.Window
  return type java.lang.String is not compatible with java.awt.Window.Type
	at emailclient.ConnectDialog.getType(ConnectDialog.java:167)
	at emailclient.EmailClient.connect(EmailClient.java:270)
	at emailclient.EmailClient.main(EmailClient.java:367)

how to solve it?