Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Programação GUI com jRuby

1,103 views

Published on

Published in: Technology
  • Be the first to comment

Programação GUI com jRuby

  1. 1. Programação GUI com jRuby porque não só de web vive o RubyWednesday, June 8, 2011
  2. 2. SubDB Match de legendas baseado em algoritmo de hash SubDB APIWednesday, June 8, 2011
  3. 3. The jRuby!Wednesday, June 8, 2011
  4. 4. Java APIWednesday, June 8, 2011
  5. 5. Conversão de Java Beans x.getSomething() -> x.something x.setSomething(3) -> x.something = 3 x.methodName() -> x.method_nameWednesday, June 8, 2011
  6. 6. Conversão de TiposWednesday, June 8, 2011
  7. 7. Acessando classes Java import javax.swing.JButton include_package “javax.swing”Wednesday, June 8, 2011
  8. 8. Implementando Interfaces class SomeJRubyObject include java.lang.Runnable include java.lang.Comparable endWednesday, June 8, 2011
  9. 9. Closure ConversionWednesday, June 8, 2011
  10. 10. Closure Conversion JavaWednesday, June 8, 2011
  11. 11. Closure Conversion Java button.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { //Execute when button is pressed System.out.println("You clicked the button"); } });Wednesday, June 8, 2011
  12. 12. Closure Conversion Java button.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { //Execute when button is pressed System.out.println("You clicked the button"); } }); jRubyWednesday, June 8, 2011
  13. 13. Closure Conversion Java button.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { //Execute when button is pressed System.out.println("You clicked the button"); } }); jRuby button.add_action_listener do |e| puts "You clicked the button" endWednesday, June 8, 2011
  14. 14. SubDB SyncWednesday, June 8, 2011
  15. 15. UI DesignWednesday, June 8, 2011
  16. 16. Documentação!Wednesday, June 8, 2011
  17. 17. Documentação!Wednesday, June 8, 2011
  18. 18. OS Drag & Drop FileDrop!Wednesday, June 8, 2011
  19. 19. Deploy Standalone Jar Mac Application DMG para Mac Windows exe Geração automática atravéz de RakeWednesday, June 8, 2011
  20. 20. One More Thing...Wednesday, June 8, 2011
  21. 21. One More Thing... Não esqueça a flag “b” ao tratar arquivos!Wednesday, June 8, 2011
  22. 22. Links jRuby - http://www.jruby.org Scripting jRuby - https://github.com/jruby/jruby/wiki/ CallingJavaFromJRuby SubDB: http://www.thesubdb.com SubDB Sync: https://github.com/wilkerlucio/subdb-syncWednesday, June 8, 2011
  23. 23. Valeu! Wilker Lúcio <wilkerlucio@gmail.com>Wednesday, June 8, 2011

×