Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » new FormEntry gives a Discouraged access warning
new FormEntry gives a Discouraged access warning [message #197498] Fri, 02 March 2007 12:08 Go to next message
Nicholas Loulloudes is currently offline Nicholas LoulloudesFriend
Messages: 54
Registered: July 2009
Location: Cyprus
Member

Hello,

i have the following method in my code for creating a FormEntry and i get
the following warning:

Discouraged access: The constructor FormEntry(Composite, FormToolkit,
String, String, boolean) is not accessible due to restriction on required
library /home/nick/Programs/eclipse/plugins/
org.eclipse.pde.ui_3.2.1.v20060816-0800.jar

During runtime of the code i can only see the label in front of the text
field but the text field is not there.

Any suggestions?
Re: new FormEntry gives a Discouraged access warning [message #197506 is a reply to message #197498] Fri, 02 March 2007 12:46 Go to previous message
Nicholas Loulloudes is currently offline Nicholas LoulloudesFriend
Messages: 54
Registered: July 2009
Location: Cyprus
Member

Ok i found the problem.

This class exists in an internal package of org.eclipse.pde and i thus i
can't use it.
Previous Topic:Connecting to MySql 5.0
Next Topic:swing java progrmas
Goto Forum:
  


Current Time: Fri Apr 26 08:46:06 GMT 2024

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

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

Back to the top