This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CallView < ApplicationView | |
set_java_class 'call.CallFrame' | |
CONTRACT_TYPE_TRANSLATION = {nil => nil, '' => '', 'Current' => 'Current', 'current' => 'Current'} | |
#customer fields | |
map :view => "customer_name_combo_box.selected_item", :model => :customer_name, :ignoring => :action | |
map :view => "customer_name_combo_box.model", :transfer => :customer_names, :using => [:to_combo_box_model, nil] | |
map :view => "contact_name_text_field.text", :model => :contact_name | |
map :view => "address_text_field.text", :model => :street_address |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NativeException: java.lang.reflect.InvocationTargetException: null | |
java/awt/EventQueue.java:853:in `invokeAndWait' | |
javax/swing/SwingUtilities.java:1257:in `invokeAndWait' | |
sun/reflect/NativeMethodAccessorImpl.java:-2:in `invoke0' | |
sun/reflect/NativeMethodAccessorImpl.java:39:in `invoke' | |
sun/reflect/DelegatingMethodAccessorImpl.java:25:in `invoke' | |
java/lang/reflect/Method.java:585:in `invoke' | |
org/jruby/javasupport/JavaMethod.java:298:in `invokeWithExceptionHandling' | |
org/jruby/javasupport/JavaMethod.java:278:in `invoke_static' | |
org/jruby/java/invokers/StaticMethodInvoker.java:47:in `call' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NativeException: java.lang.NullPointerException: null | |
org/jruby/javasupport/proxy/JavaProxyConstructor.java:213:in `invoke' | |
org.jruby.proxy.javax.swing.JDialog$Proxy1:-1:in `move' | |
java/awt/Component.java:1707:in `setLocation' | |
sun/reflect/NativeMethodAccessorImpl.java:-2:in `invoke0' | |
sun/reflect/NativeMethodAccessorImpl.java:39:in `invoke' | |
sun/reflect/DelegatingMethodAccessorImpl.java:25:in `invoke' | |
java/lang/reflect/Method.java:585:in `invoke' | |
org/jruby/javasupport/JavaMethod.java:298:in `invokeWithExceptionHandling' | |
org/jruby/javasupport/JavaMethod.java:259:in `invoke' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SpinnerDialog < Java::javax::swing::JDialog | |
def initialize(parent=nil, modal=nil) | |
unless parent.nil? && modal.nil? | |
super | |
else | |
super() | |
end | |
end | |
def position_to_center |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def menu_for(controller_identifier, tab_item=nil) | |
if controller_identifier =~ /detailed_alarms/ | |
return "configure_detailed_alarms_checkbox_menu_item" | |
end | |
tab_name = tab_item ? "_#{tab_item}_" : '' | |
choices = (self.methods - Object.methods).select {|m| | |
m =~ /action_performed/ | |
}.select { |m| m =~ /#{controller_identifier}#{tab_name}/ } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exception in thread "main" lib/ruby/sequel_model.rb:4:in `require': Linkage error loading compiled script; you may need to recompile: java.lang.NoSuchMethodError: org.jruby.javasupport.util.RuntimeHelpers.fastGetInstanceVariable(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject; (LoadError) | |
from lib/ruby/sequel_model.rb:4:in `require' | |
from lib/ruby/sequel_model.rb:2:in `each' | |
from lib/ruby/sequel_model.rb:2:in `require' | |
from lib/ruby/sequel.rb:1:in `require' | |
from src/database_manager.rb:4:in `require' | |
from src/manifest.rb:89:in `require' | |
from src/main.rb:6:in `require' | |
from <script>:1 | |
...internal jruby stack elided... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rake rawr:jar | |
(in c:/projects/jotbot) | |
javac -target 1.5 -cp "lib/java/bcmail-jdk14-139.jar;lib/java/bcprov-jdk14-139.jar;lib/java/filters.jar;lib/java/getdown-pro.jar;lib/java/h2.jar;lib/java/jdbc_adapter_internal.jar;lib/java/jh.jar;lib/java/jopenssl.jar;lib/java/jruby-complete.jar;lib/java/jsearch.jar;lib/java/jxlayer.jar;lib/java/monkeybars-0.6.4.jar;lib/java/swing-layout-1.0.3.jar;lib/java/swingx-0.9.3.jar;lib/java/jdic/jdic.jar" | |
-sourcepath "src;lib/ruby" -d "c:/projects/jotbot/package/classes" "src/about/About.java" | |
javac: no source files | |
Usage: javac <options> <source files> | |
use -help for a list of possible options | |
lib/java/bcprov-jdk14-139.jar: lib/java/bcprov-jdk14-139.jar: cannot execute binary file | |
lib/java/filters.jar: line 1: $'PK\003\004': command not found | |
lib/java/filters.jar: line 2: $'\rMp5': command not found |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Description: | |
Gemini takes a 2D Java game library (Slick and Phys2D) and builds a powerful behavior system on top of it in JRuby, so that many game design concepts can be built into the library. Gemini games can be created by game designers with little programming skill, while the game programmer crafts custom behaviors for the game designers to use. | |
Intendened Audience: | |
Developers with an interest in game development, no prior game development experience is required although it is helpful. | |
What you will get from this session: | |
- How to write a simple Gemini game using pre-existing behaviors | |
- How to introduce a new behavior | |
- See the separation of the game designer and game developer roles |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1/2/09 12:20:23 PM [0x0-0x592592].JotBot[44092] [LaunchRunner Error] org.rubyforge.rawr.Main.main(String[]) threw an exception: | |
1/2/09 12:20:23 PM [0x0-0x592592].JotBot[44092] java.lang.UnsupportedClassVersionError: Bad version number in .class file | |
1/2/09 12:20:23 PM [0x0-0x592592].JotBot[44092] at java.lang.ClassLoader.defineClass1(Native Method) | |
1/2/09 12:20:23 PM [0x0-0x592592].JotBot[44092] at java.lang.ClassLoader.defineClass(ClassLoader.java:675) | |
1/2/09 12:20:23 PM [0x0-0x592592].JotBot[44092] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) | |
1/2/09 12:20:23 PM [0x0-0x592592].JotBot[44092] at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) | |
1/2/09 12:20:23 PM [0x0-0x592592].JotBot[44092] at java.net.URLClassLoader.access$100(URLClassLoader.java:56) | |
1/2/09 12:20:23 PM [0x0-0x592592].JotBot[44092] at java.net.URLClassLoader$1.run(URLClassLoader.java:195) | |
1/2/09 12:20:23 PM [0x0-0x592592].JotBot[44092] at java.security.AccessController.doPrivileg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Haloperidol left the chat room. | |
[1:37pm] <Sal> | |
eirikb: sorry, i was at dinner.... | |
[1:37pm] <Sal> | |
i have that selected | |
[1:37pm] <Sal> | |
but netbeans for php always uses the system browser | |
[1:47pm] <Sal> | |
maybe the setup is missing some plugins | |
[1:47pm] <Sal> |
OlderNewer