RPTools.net

Discussion and Support

Skip to content

It is currently Tue Oct 24, 2017 1:02 am 






Reply to topic  [ 36 posts ]  Go to page Previous  1, 2, 3  Next

Previous topic | Next topic 

  Print view

Author Message
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 3108
Location: Germany
 Post subject: Re: Working on tokenTool
PostPosted: Mon Nov 15, 2010 2:56 am 
This is giving me some trouble.

I updated tokentool and rplib.

1) tokentool does now have a dependency to chartool. I got that as well from SVN. (I also tried to remove the dependency - seems to work as well)

2) there is now: "net.rptools.lib.swing.preference.FramePreferences cannot be resolved TokenToolFrame.java"
- rplib doesnt have a FramePreferences (anymore?)

This does not rely to any changes I made (knowingly).

_________________
HELP: GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC.

most complete list of my maptool stuff


Top
 Profile  
 
User avatar  Offline
RPTools Team
 
Joined: Tue Feb 07, 2006 1:07 am
Posts: 1766
Location: Austin, Tx
 Post subject: Re: Working on tokenTool
PostPosted: Mon Nov 15, 2010 10:31 am 
CoveredInFish wrote:
This is giving me some trouble.

I updated tokentool and rplib.

1) tokentool does now have a dependency to chartool. I got that as well from SVN. (I also tried to remove the dependency - seems to work as well)

Shouldn't be a chartool dependency, if I added that I'm sorry. It should have been rplib.

CoveredInFish wrote:
2) there is now: "net.rptools.lib.swing.preference.FramePreferences cannot be resolved TokenToolFrame.java"
- rplib doesnt have a FramePreferences (anymore?)

This does not rely to any changes I made (knowingly).

There isn't a FramePreferences any longer, but I thought I fixed that. Must not have checked it in. The class is called WindowPreferences now.


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 3108
Location: Germany
 Post subject: Re: Working on tokenTool
PostPosted: Mon Nov 15, 2010 12:26 pm 
jay wrote:
There isn't a FramePreferences any longer, but I thought I fixed that. Must not have checked it in. The class is called WindowPreferences now.


I tried to replace that initially - seemed similar enough - and TT started but threw an exception when I opened the ManageOverlay-Dialog IIRC.
I'm at work now but check again asap.

_________________
HELP: GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC.

most complete list of my maptool stuff


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 3108
Location: Germany
 Post subject: Re: Working on tokenTool
PostPosted: Mon Nov 15, 2010 5:48 pm 
Confirmed.

I change the FramePreference to WindowPreference, it starts but throws this

Exception occurred during event dispatching:
java.lang.UnsupportedOperationException: added by bewer version of RPLIB, but not used here.
at net.rptools.tokentool.ui.OverlayPanelModel.getBackground(OverlayPanelModel.java:119)
at net.rptools.lib.swing.ImagePanel.paintComponent(ImagePanel.java:189)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at net.rptools.tokentool.ui.OverlayManagementDialog.setVisible(OverlayManagementDialog.java:87)
at net.rptools.tokentool.AppActions$4.actionPerformed(AppActions.java:117)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at de.muntjak.tinylookandfeel.TinyMenuItemUI.doClick(TinyMenuItemUI.java:569)
at de.muntjak.tinylookandfeel.TinyMenuItemUI$MouseInputHandler.mouseReleased(TinyMenuItemUI.java:421)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)


when I open the manage overlay dialog. It does not display the overlays or any other control than "delete" and "restore defaults".

_________________
HELP: GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC.

most complete list of my maptool stuff


Top
 Profile  
 
User avatar  Offline
RPTools Team
 
Joined: Tue Feb 07, 2006 1:07 am
Posts: 1766
Location: Austin, Tx
 Post subject: Re: Working on tokenTool
PostPosted: Mon Nov 15, 2010 6:11 pm 
It looks like you didn't check out any of my changes. I also added the missing methods for OverlayPanelModel. I know there in there 'cause Azhrei was able to check them out :)


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 3108
Location: Germany
 Post subject: Re: Working on tokenTool
PostPosted: Mon Nov 15, 2010 6:30 pm 
Weird.

I "replaced" complete tokentool "with latest from repository". I even deleted all local tokentool and re-got it. It still comes with "FramePreferences" and not "working-out-of-the-box".

I dont know what Im doing wrong :(

_________________
HELP: GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC.

most complete list of my maptool stuff


Top
 Profile  
 
User avatar  Offline
Site Admin
 
Joined: Mon Jun 12, 2006 12:20 pm
Posts: 12101
Location: Tampa, FL
 Post subject: Re: Working on tokenTool
PostPosted: Mon Nov 15, 2010 6:45 pm 
Your build path includes the JAR file as well as the project. The order they are listed in the Build Configuration dialog is the order they are searched.

Right-click on the poject and choose Build Path > Configure build path...

Go to the Libraries tab and make sure the needed JAR is there (it should be, but just in case).

Go to the Projects tab and remove all dependent projects.

Click OK to close the dialog.

Go to the Project menu and choose Clean... and tell it to clean the project. It will delete all remnants of previous builds and then build new ones.

Now the application should run. :)


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 3108
Location: Germany
 Post subject: Re: Working on tokenTool
PostPosted: Tue Nov 16, 2010 2:57 am 
As far as I can find out revision 5461 changed three files:

* OverlayListModel, OverlayPanelModel, TokenCompositionPanel

Not changed (still rev3770) is TokenToolFrame where FramePreference is used (but not known).

I cant get anything newer from the svn.

And while I cleaned up the buildpath (thx for the explanation) it doesnt work.

_________________
HELP: GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC.

most complete list of my maptool stuff


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri May 12, 2006 7:56 pm
Posts: 6300
Location: Las Cruces, NM
 Post subject: Re: Working on tokenTool
PostPosted: Tue Nov 16, 2010 9:24 pm 
It's not you. rplib in SVN is missing the net.rptools.lib.swing.preference.FramePreferences class and the latest build committed to dist doesn't have it either.

_________________
Call me, Hex Boy.

Visit http://www.darkisle.com for photos of castles, cairns, standing stones, and other ancient sites in the British Isles.


Top
 Profile  
 
User avatar  Offline
Site Admin
 
Joined: Mon Jun 12, 2006 12:20 pm
Posts: 12101
Location: Tampa, FL
 Post subject: Re: Working on tokenTool
PostPosted: Tue Nov 16, 2010 11:10 pm 
Ah, so jay forgot to commit the rplib stuff!

Hm, if I had made a change and tried to commit it, SVN would've committed my changes and left other stuff intact, right? I didn't change that source file but I did make another commit to rplib within the last 7-10 days, I think...


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri May 12, 2006 7:56 pm
Posts: 6300
Location: Las Cruces, NM
 Post subject: Re: Working on tokenTool
PostPosted: Tue Nov 16, 2010 11:44 pm 
Looks more to me like this was a new class for rplib that Jay forgot to commit. Didn't dig too deep. Just pulled a clean checkout to verify the file wasn't there or in the rplib build you committed at the end of Oct.

_________________
Call me, Hex Boy.

Visit http://www.darkisle.com for photos of castles, cairns, standing stones, and other ancient sites in the British Isles.


Top
 Profile  
 
User avatar  Offline
Site Admin
 
Joined: Mon Jun 12, 2006 12:20 pm
Posts: 12101
Location: Tampa, FL
 Post subject: Re: Working on tokenTool
PostPosted: Wed Nov 17, 2010 1:01 am 
Okay, revision 3770 of TokenToolFrame.java is the most recent. It contains an import statement for FramePreferences. The latest revision of rplib no longer has FramePreferences, it has WindowPreferences.

It looks like jay hasn't committed tokentool but he did commit rplib.

I just sent him a PM with a link to this post. :)


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 3108
Location: Germany
 Post subject: Re: Working on tokenTool
PostPosted: Tue Nov 23, 2010 5:56 am 
Bump.

Still not getting a working tokentool from svn. :(

_________________
HELP: GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC.

most complete list of my maptool stuff


Top
 Profile  
 
User avatar  Offline
Site Admin
 
Joined: Mon Jun 12, 2006 12:20 pm
Posts: 12101
Location: Tampa, FL
 Post subject: Re: Working on tokenTool
PostPosted: Tue Nov 23, 2010 1:06 pm 
Send a PM directory to jay. It looks like he needs to commit his TokenTool changes.


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 3108
Location: Germany
 Post subject: Re: Working on tokenTool
PostPosted: Fri Dec 17, 2010 9:17 am 
Sadly still no news on this. :( pm-mailed but not e-mailed yet.

_________________
HELP: GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC.

most complete list of my maptool stuff


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 36 posts ]  Go to page Previous  1, 2, 3  Next

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Who is online

In total there are 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: No registered users and 3 guests





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman