Tool Output can not set dock location

Questions on using RText should go here.

Moderator: robert

Tool Output can not set dock location

Postby Adam » Fri Jul 27, 2012 12:21 pm

After i set the dock location of tool output window to floating, i can not set it to others(left, right, etc.), where i can find the option to set it?
By the way, after i set it's dock location to floating, when i run a tool, nothing display in the output window.
Adam
 

Re: Tool Output can not set dock location

Postby Adam » Fri Jul 27, 2012 1:48 pm

Here is the log
filename:uncaughtRTextAwtExceptions.log
content:
<?xml version="1.0" encoding="windows-1252" standalone="no"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
<record>
<date>2012-07-27T21:46:06</date>
<millis>1343396766466</millis>
<sequence>0</sequence>
<logger>org.fife.rtext</logger>
<level>SEVERE</level>
<class>org.fife.rtext.AWTExceptionHandler</class>
<method>handle</method>
<thread>10</thread>
<message>Uncaught exception in EDT</message>
<exception>
<message>java.lang.NullPointerException</message>
<frame>
<class>org.fife.rtext.plugins.tools.RunToolAction</class>
<method>showButDontFocus</method>
<line>100</line>
</frame>
<frame>
<class>org.fife.rtext.plugins.tools.RunToolAction</class>
<method>actionPerformed</method>
<line>72</line>
</frame>
<frame>
<class>javax.swing.AbstractButton</class>
<method>fireActionPerformed</method>
</frame>
<frame>
<class>javax.swing.AbstractButton$Handler</class>
<method>actionPerformed</method>
</frame>
<frame>
<class>javax.swing.DefaultButtonModel</class>
<method>fireActionPerformed</method>
</frame>
<frame>
<class>javax.swing.DefaultButtonModel</class>
<method>setPressed</method>
</frame>
<frame>
<class>javax.swing.AbstractButton</class>
<method>doClick</method>
</frame>
<frame>
<class>javax.swing.plaf.basic.BasicMenuItemUI</class>
<method>doClick</method>
</frame>
<frame>
<class>javax.swing.plaf.basic.BasicMenuItemUI$Handler</class>
<method>mouseReleased</method>
</frame>
<frame>
<class>java.awt.AWTEventMulticaster</class>
<method>mouseReleased</method>
</frame>
<frame>
<class>java.awt.Component</class>
<method>processMouseEvent</method>
</frame>
<frame>
<class>javax.swing.JComponent</class>
<method>processMouseEvent</method>
</frame>
<frame>
<class>java.awt.Component</class>
<method>processEvent</method>
</frame>
<frame>
<class>java.awt.Container</class>
<method>processEvent</method>
</frame>
<frame>
<class>java.awt.Component</class>
<method>dispatchEventImpl</method>
</frame>
<frame>
<class>java.awt.Container</class>
<method>dispatchEventImpl</method>
</frame>
<frame>
<class>java.awt.Component</class>
<method>dispatchEvent</method>
</frame>
<frame>
<class>java.awt.LightweightDispatcher</class>
<method>retargetMouseEvent</method>
</frame>
<frame>
<class>java.awt.LightweightDispatcher</class>
<method>processMouseEvent</method>
</frame>
<frame>
<class>java.awt.LightweightDispatcher</class>
<method>dispatchEvent</method>
</frame>
<frame>
<class>java.awt.Container</class>
<method>dispatchEventImpl</method>
</frame>
<frame>
<class>java.awt.Window</class>
<method>dispatchEventImpl</method>
</frame>
<frame>
<class>java.awt.Component</class>
<method>dispatchEvent</method>
</frame>
<frame>
<class>java.awt.EventQueue</class>
<method>dispatchEventImpl</method>
</frame>
<frame>
<class>java.awt.EventQueue</class>
<method>access$000</method>
</frame>
<frame>
<class>java.awt.EventQueue$1</class>
<method>run</method>
</frame>
<frame>
<class>java.awt.EventQueue$1</class>
<method>run</method>
</frame>
<frame>
<class>java.security.AccessController</class>
<method>doPrivileged</method>
</frame>
<frame>
<class>java.security.AccessControlContext$1</class>
<method>doIntersectionPrivilege</method>
</frame>
<frame>
<class>java.security.AccessControlContext$1</class>
<method>doIntersectionPrivilege</method>
</frame>
<frame>
<class>java.awt.EventQueue$2</class>
<method>run</method>
</frame>
<frame>
<class>java.awt.EventQueue$2</class>
<method>run</method>
</frame>
<frame>
<class>java.security.AccessController</class>
<method>doPrivileged</method>
</frame>
<frame>
<class>java.security.AccessControlContext$1</class>
<method>doIntersectionPrivilege</method>
</frame>
<frame>
<class>java.awt.EventQueue</class>
<method>dispatchEvent</method>
</frame>
<frame>
<class>java.awt.EventDispatchThread</class>
<method>pumpOneEventForFilters</method>
</frame>
<frame>
<class>java.awt.EventDispatchThread</class>
<method>pumpEventsForFilter</method>
</frame>
<frame>
<class>java.awt.EventDispatchThread</class>
<method>pumpEventsForHierarchy</method>
</frame>
<frame>
<class>java.awt.EventDispatchThread</class>
<method>pumpEvents</method>
</frame>
<frame>
<class>java.awt.EventDispatchThread</class>
<method>pumpEvents</method>
</frame>
<frame>
<class>java.awt.EventDispatchThread</class>
<method>run</method>
</frame>
</exception>
</record>
Adam
 

Re: Tool Output can not set dock location

Postby Adam » Fri Jul 27, 2012 2:02 pm

finally, i found a way, edit the tools.properties directly.
Adam
 

Re: Tool Output can not set dock location

Postby robert » Sun Jul 29, 2012 4:08 am

Thanks for the bug reports! Not being able to change the Tool Output dockable window via the Options dialog was a terrible oversight; it'll be fixed in the next RText release, as will the stack trace when running a tool with that window in a popup.

If you want to try it out before the official 2.0.4 release, check out revision 199 or later in SVN.
User avatar
robert
 
Posts: 788
Joined: Sat May 10, 2008 5:16 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 1 guest