Share

Buoy

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

menu bar height reported to be zero

You are viewing a single message from this topic. View all messages.

  1. 2009-04-15 04:48:06 UTC
    Oh good. I'll try that. :) All of my GUI manipulation is in the ProcedureEditor constructor, so I'll put a call to that in run() above.

    That is a bit ugly code though. It's AWT so I suppose that makes sense. I don't like creating anonymous inner classes inside a parameter lists (and just to run a single function). Perhaps in keeping with the spirit of Buoy, Buoy could wrap that functionality and make it nicer? Maybe add a invokeLater function to the appropriate class that takes a function name and runs the function in the event thread at the appropriate time. Let me know if you like the idea and I should put it on the tracker. Seems like this sort of thing would get used for a lot of programs (any that wants a centered main window, for starters).

    Thanks again!

    - John
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.