| Using JTree properly
Can you make your controller hold a reference to the node? When you call open, pass in the node. Accept the node on the load method (via a param). You may have to delegate between your controller's mod . . .
|
Monkeybars: Project has moved to GitHub.
» General Discussion
|
February 07, 2010 16:28
by: Logan Barnett
|
| Initialize (and performing functions once upon launch)
Your controller has a reference to a model (which you declared using set\ model). Each time you call view\ state.model/view\ model, we create a copy of your model and populate it based on your view map . . .
|
Monkeybars: Project has moved to GitHub.
» General Discussion
|
February 07, 2010 16:24
by: Logan Barnett
|
| rubygame and rawr with rubytet
Any changes in the output? Make sure to do a jrake rawr:clean before rejarring with moves (:
|
Rawr
» General Discussion
|
January 28, 2010 03:39
by: hackerkiba
|
| rubygame and rawr with rubytet
Your project looks partly generated - it's missing the Main.java that lives in src/org/rubyforge/rawr. Rawr also assumes all of your source for your app goes in src. You've tweaked things appropriately . . .
|
Rawr
» General Discussion
|
January 28, 2010 03:39
by: hackerkiba
|
| rubygame and rawr with rubytet
Do you have a src/org/rubyforge/rawr/Main.java? What's your build configuration.rb look like?
|
Rawr
» General Discussion
|
January 28, 2010 03:39
by: hackerkiba
|
| require problem in NetBeans
Alex, 0.5 (which I released today), fixes this issue. JRuby made a change that broke our gem protection behavior (which was happening in manifest.rb). This is purely my fault - they gave me tons of not . . .
|
Monkeybars: Project has moved to GitHub.
» General Discussion
|
January 24, 2010 22:00
by: regularfry
|
| Testing in Jemini
No, you can still use instance variables. I took your existing object for code and modified it. If you make a file and drop this in the support dir (env gets generated typically, so leave it alone), yo . . .
|
Jemini
» General Discussion
|
January 20, 2010 07:26
by: jaymcgavren
|
| Testing in Jemini
Just make the method global (on Object). I have some tests for a project that do the same thing. You're pretty much making it global anyways by including it in the world. Our behavior system should pre . . .
|
Jemini
» General Discussion
|
January 20, 2010 07:26
by: jaymcgavren
|
| Testing in Jemini
Remember that Jemini stole Rails' inflector. You can camelize.constantize on the string you get back. You aren't actually using the $n vars are you? (:
|
Jemini
» General Discussion
|
January 20, 2010 07:26
by: jaymcgavren
|
| Testing in Jemini
You can rapidly apply deltas to the app's update method to simulate the passage of time. I recommend this is the only way that time elapses in line-based tests, because you don't want assertions on a d . . .
|
Jemini
» General Discussion
|
January 20, 2010 07:26
by: jaymcgavren
|