This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Beginning Java and the fly likes Department Chart Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Department Chart" Watch "Department Chart" New topic
Author

Department Chart

shumani edzani
Greenhorn

Joined: Oct 03, 2008
Posts: 9
Hi

i want to print department chart with this code and the code is unable to do that please help

[edit]Add code tags. CR[/edit]
[ October 07, 2008: Message edited by: Campbell Ritchie ]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41582
    
  54
So ... what does the code do? Where does it go wrong?

In the future, please UseCodeTags when posting code of any length.


Ping & DNS - my free Android networking tools app
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38424
    
  23
Originally posted by Ulf Dittmer:
So ... what does the code do? Where does it go wrong?
It appears to return null, which looks to me as though it would be better with void return type. It also declares "Exception," and catches it simultaneously. Both those features will make that method hard to use.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Department Chart