update jmapframe

2 messages Options
Embed this post
Permalink
Cintia

update jmapframe

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Hi Michael,
This new panel will be shown or not according to the user.
He is whose should add
mapFrame.getPanel().add(tabbedPane,"grow");

Or remove
mapFrame.getPanel().remove(tabbedPane);

However,as is, this update only is done when pass the mouse on the JMapPane.

Thanks
Cintia



On Sex 06/11/09 02:33 , Michael Bedward [hidden email] sent:
Hi Cintia,


> And another doubt,how do I update  JMapFrame? Includes an option to add a

> panel when I click a button, however,the panel only appears when i move the

> mouse in the map area. Do you have any idea of how to solve this?


Can you give me a little more information about what you're trying to
do please: I'm not sure what you mean by "add a panel". Do you mean a
new panel to be permanently shown as part of the frame ? If so, it
might be easiest for you to sub-class JMapFrame or even just take the
code and hack it into your own class.

Michael


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geotools-gt2-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
mbedward

Re: update jmapframe

Reply Threaded More More options
Print post
Permalink
Hi Cintia,

OK.  Please have a look at JMapFrame.initComponents to see how things
are handled at the moment. If you subclassed JMapFrame you could
override that method and add your extra panel, initially sized so that
it is not shown.

Let me know if that does or doesn't help.

Michael

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geotools-gt2-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users