Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Creating Excel sheet using RCP(Help Regarding Creating Excel sheet (*.xls) using RCP )
Creating Excel sheet using RCP [message #558060] Fri, 10 September 2010 05:28 Go to next message
kapil  is currently offline kapil Friend
Messages: 5
Registered: September 2010
Junior Member
Hello,

I want to create an excel sheet using RCP.

i.e I created a menu and on its action i tried to create an excel sheet...

Its not creating...

I tried using POI.

HSSFWorkbook wb = new HSSFWorkbook( );
HSSFSheet ws = wb.createSheet( );

Thanks in advance.
Re: Creating Excel sheet using RCP [message #558061 is a reply to message #558060] Fri, 10 September 2010 05:28 Go to previous messageGo to next message
kapil  is currently offline kapil Friend
Messages: 5
Registered: September 2010
Junior Member
Please help me its urgent...
Re: Creating Excel sheet using RCP [message #558120 is a reply to message #558060] Fri, 10 September 2010 09:03 Go to previous message
Martin Klinke is currently offline Martin KlinkeFriend
Messages: 80
Registered: July 2009
Member
Hi kapil,

please don't get this wrong, but if you expect help from this group, you
need to give us more information about your specific problem.

First of all, how and where have you created the menu and action? Is the
action implementation triggered at all? To find this out, try starting
in debug mode and set a break point or add some console output to the
beginning of the method _before_ the POI API calls.

If the code is executed, do the POI calls throw any exceptions? Try
wrapping the calls in a try-catch-block if not already done and use the
debug/log-method from above to find out which exception. You can also
show a dialog etc.

HTH,
Martin Klinke
Previous Topic:for org.eclipse.ui.navigator.navigatorContent where/how are the "property" values defined?
Next Topic:Label provider and icons from workspace
Goto Forum:
  


Current Time: Sun Dec 21 22:23:32 GMT 2014

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

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