Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Issues to get the text of a combobox.
Issues to get the text of a combobox. [message #585925] Wed, 26 November 2008 18:33
raphael is currently offline raphaelFriend
Messages: 16
Registered: July 2009
Junior Member
Hello, I'm having a problem and a few days and I can not find a solution.
I'm not able to get the text of a combo, generates an error
java.lang.NullPointerException. I am trying as follows:

// creating the combobox

final Combo comboDriver = new Combo(controls, SWT.DROP_DOWN | SWT.BORDER );

// Calling within the method

public void escreveClassepage4() {
String Driver = comboDriver.getText();--> initializing the variable
writer.write(" jdbcDriver=" + Driver );
Previous Topic:Issues to get the text of a combobox.
Next Topic:Re: 3.5M3 crashes Invalid memory access of location
Goto Forum:

Current Time: Fri Sep 24 11:44:52 GMT 2021

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

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

Back to the top