vctlzac Posted July 10, 2010 Share Posted July 10, 2010 I need to remove objects from a JrViewer.I got to remove print bar using the removal with the index, with command jrv.remove (0).Now I need to remove two other objects. The first is the scrollpane. My report is on a small scale thus bypassing the scrollpane. The second is the bar that tells the amount of pages. Below is a picture to facilitate understanding:http://yfrog.com/jmimagemsaoj Thanks.Post Edited by vctlzac at 07/10/2010 00:35Post Edited by vctlzac at 09/12/2010 01:04 Link to comment Share on other sites More sharing options...
vctlzac Posted September 12, 2010 Author Share Posted September 12, 2010 The solution is to cover all components of the object JrViewer a JScrollPane and when to change the properties:setHorizontalScrollBarPolicy (JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);setVerticalScrollBarPolicy (JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now