» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with Groovy + gui

Using JavaFX objects from within Java: a very bad joke from Sun

Accessing JavaFX from Java...so bad it just boggles the mind.

technology: dzone.com: tech links

jSilhouette: demo screenshots and code

jSilhouette includes a demo application for each one of its subprojects (geom, scene & jfx) showing the shapes in action. This post is a recollection of what happened during the time those applications were developed and what lessons I learned while doing so.

technology: dzone.com: tech links

java.net.Authenticator with Groovy, Matisse and Twitter

For the sake of learning, I wanted to see what it'd take to create a Twitter Updater using Groovy and Matisse. The surprise in the deal: java.net.Authenticator. I thought it was gonna be simple...the answer -- at the time no...looking back...not bad at all really. (With code examples!)

technology: dzone.com: tech links

Groovy Generation of Modular Desktop Applications

I came across a rather cool blog entry today (via the always excellent http://groovyblogs.org/), ICEFaces Project Generation Using Groovy, by Rob Mayhew. Very cool that he included all his code. A few tweaks later I was able to generate a new NetBeans Platform application from Groovy

technology: dzone.com: tech links

Java SwingBuilder 0.2 DEV : added support for SWT-style menu API

Bringing SWT-style menu API to Swing for maximum productivity. Java SwingBuilder is an attempt to bring dynamic language-type productivity to Java Swing UI development by defining the layout/event wiring/binding in a separate YAML file and leaving the Java class to focus on pure business-side code. Inspired by Groovy SwingBuilder (the concept in general), Ruby on Rails (YAML is the new JSON/XML, but leaner) and GTK+ libGlade (for the idea of keeping layout and event wiring in a separate file). Uses MigLayout as the main layout manager. End goal of the project: to define max functionality with the least amount of code and maximize Swing developer productivity.

technology: dzone.com: tech links

GraphicsBuilder 0.6 released

I'm pleased to announce that GraphicsBuilder 0.6 has been released. It has many updates and finally makes public both SVGRenderer and SWFRenderer. Here are a couple of posts that describe what's included in this release

technology: dzone.com: tech links

Java SwingBuilder 0.1.FINAL is out : open source competition for JavaFX in good old Java

Production-quality 0.1.FINAL release for the Java SwingBuilder project. Java SwingBuilder is an attempt to bring dynamic language-type productivity to Java Swing UI development by defining the layout/event wiring/binding in a separate YAML file and leaving the Java class to focus on pure business-side code. Inspired by Groovy SwingBuilder (the concept in general), Ruby on Rails (YAML is the new JSON/XML, but leaner) and GTK+ libGlade (for the idea of keeping layout and event wiring in a separate file). Uses MigLayout as the main layout manager. End goal of the project: to define max functionality with the least amount of code.

technology: dzone.com: tech links

Taking JavaFX head-on: Java SwingBuilder 0.1.RC1 is here!

0.1 Release Candidate 1 for the Java SwingBuilder project. Java SwingBuilder is an attempt to bring dynamic language-type productivity to Java Swing UI development by defining the layout/event wiring/binding in a separate YAML file and leaving the Java class to focus on pure business-side code. Inspired by Groovy SwingBuilder (the concept in general), Ruby on Rails (YAML is the new JSON/XML, but leaner) and GTK+ libGlade (for the idea of keeping layout and event wiring in a separate file). Uses MigLayout as the main layout manager. End goal of the project: to define max functionality with the least amount of code and make JavaFX obsolete before it even arrives.

technology: dzone.com: tech links

GWT Grails Tutorial

A tutorial showing how do develop a Grails application with a GWT UI.

technology: dzone.com: tech links

Groovy Sparklines

Everyone loves sparklines, and if you want to build them using Groovy, here’s some code that I took from a fabulous example in JRuby, and modified.

technology: dzone.com: tech links

Java SwingBuilder : finally a 0.1 Beta release

Initial 0.1 Beta release for the Java SwingBuilder project. Java SwingBuilder is an attempt to bring dynamic language-type productivity to Java Swing UI development by defining the layout/event wiring/binding in a separate YAML file and leaving the Java class to focus on pure business-side code. Inspired by Groovy SwingBuilder (the concept in general), Ruby on Rails (YAML is the new JSON/XML, but leaner) and GTK+ libGlade (for the idea of keeping layout and event wiring in a separate file). Uses MigLayout as the main layout manager. End goal of the project: to define max functionality with the least amount of code.

technology: dzone.com: tech links

GraphicsBuilder Experimentation

This afternoon I was experimenting with GraphicsBuilder on Groovy, and I'm blown away. It took a bit of work to get setup because I wanted to play around with the SVG rendering support (which isn't included in the 0.5.1 package that is currently available). Once I built from the trunk, it worked like a charm. Below are the steps that I went through to set things up in case it is useful to anyone else.

technology: dzone.com: tech links

Java SwingBuilder: support for JScrollPane, Border, Icon + new discussion group

Further progress on the Java SwingBuilder. Java SwingBuilder is an attempt to bring dynamic language-type productivity to Java Swing UI development by defining the layout/event wiring/binding in a separate YAML file and leaving the Java class to focus on pure business-side code. Inspired by Groovy SwingBuilder (the concept in general), Ruby on Rails (YAML is the new JSON/XML, but leaner) and GTK+ libGlade (for the idea of keeping layout and event wiring in a separate file). Uses MigLayout as the main layout manager. End goal of the project: to define max functionality with the least amount of code.

technology: dzone.com: tech links

Swing, RIA and JVM dynamic languages - interview with Andres Almiray

A prolific blogger, a frequent presenter at conferences and a tireless advocate of Groovy. Meet Andres Almiray as the interview series on Swing, RIA, JavaFX and related topics that started with Amy Fowler, Mikael Grev, David Qiao and Chet Haase continues.

technology: dzone.com: tech links

Groovy Builders, JCR (and MigLayout to the rescue)

still am struggling with the JCR Query functionality. The whole idea of supporting both XPath and/or SQL-like syntax with some additions is, for me personally, rather challenging. What to do? Either read docu, source code, create tests against the API or create a little GUI to test it with. So, finally a good excuse to use the SwingBuilder. Beeing in dire need of a refresh on Swing (remember Java 1.2? Sheesh...) I stumbled upon MigLayout, which, kind of ironically, plays to my (meager) CSS know-how.

technology: dzone.com: tech links

Java SwingBuilder : first support for validations, inching towards 0.1 release

First drops of code that integrate with Apache Commons Validator for data input validation. Java SwingBuilder is an attempt to bring dynamic language-type productivity to Java Swing UI development by defining the layout/event wiring/binding in a separate YAML file and leaving the Java class to focus on pure business-side code. Inspired by Groovy SwingBuilder (the concept in general), Ruby on Rails (YAML is the new JSON/XML, but leaner) and GTK+ libGlade (for the idea of keeping layout and event wiring in a separate file). Uses MigLayout as the main layout manager. End goal of the project: to define max functionality with the least amount of code.

technology: dzone.com: tech links

Java SwingBuilder: now with proper Wiki

Documentation updates for the Javs SwingBuilder project. Java SwingBuilder is an attempt to bring dynamic language-type productivity to Java Swing UI development by defining the layout/event wiring/binding in a separate YAML file and leaving the Java class to focus on pure business-side code. Inspired by Groovy SwingBuilder (the concept in general), Ruby on Rails (YAML is the new JSON/XML, but leaner) and GTK+ libGlade (for the idea of keeping layout and event wiring in a separate file). End goal of the project: to define max content with the least amount of code.

technology: dzone.com: tech links

Swing links of the week: May 18, 2008

Here are some Swing links that you might have missed during this week

technology: dzone.com: tech links

Java SwingBuilder: turbo-charging YAML with virtual constructor flow

A major hack to the YAML file format to further reduce the number of lines and indentation levels in it, thus making it way more compact than XML or JSON. Java SwingBuilder is an attempt to bring dynamic language-type productivity to Java Swing UI development by defining the layout/event wiring/binding in a separate YAML file and leaving the Java class to focus on pure business-side code. Inspired by Groovy SwingBuilder (the concept in general), Ruby on Rails (YAML is the new JSON/XML, but leaner) and GTK+ libGlade (for the idea of keeping layout and event wiring in a separate file). End goal of the project: to define max content with the least amount of code.

technology: dzone.com: tech links

Glazedlists + Groovy: not your regular icing

I been wanting to write about GlazedLists + Groovy since 2GX, as James and I made a demo of a Grails/Swing powered RSS/Atom aggregator that, among other things, took advantage of GlazedLists to create JTable, scratch that, a sorted, observable JTable with minimal code.

technology: dzone.com: tech links

Greet - A Groovy Twitter Client

The demo application from the Groovy SwingBuilder Tech Session at JavaOne 2008 is now runnable via WebStart. (note to self, link to SDN site when the presentaiton goes live). The source code may also be browsed via FishEye. There are a couple of points I wish to call out that were touched on in the tech session

technology: dzone.com: tech links

Java SwingBuilder: binding done, SwingWorker done, fat trimmed

Completed work on bean binding, SwingWorker integration for long running methods. Java SwingBuilder is an attempt to bring dynamic language-type productivity to Java Swing UI development by defining the layout/event wiring/binding in a separate YAML file and leaving the Java class to focus on pure business-side code. Inspired by Groovy SwingBuilder (the concept in general), Ruby on Rails (YAML is the new JSON/XML, but leaner) and GTK+ libGlade (for the idea of keeping layout and event wiring in a separate file). End goal of the project: to blow JavaFX away and ensure pure Java is king. *grin*

technology: dzone.com: tech links

Java SwingBuilder: latest updates on binding, SwingWorker and validations

Latest updates on bean binding, SwingWorker integration for long running methods and bean validations. Java SwingBuilder is an attempt to bring dynamic language-type productivity to Java Swing UI development by defining the layout/event wiring/binding in a separate YAML file and leaving the Java class to focus on pure business-side code. Inspired by Groovy SwingBuilder, Ruby on Rails (YAML) and GTK+ libGlade.

technology: dzone.com: tech links

@Bindable - Observable Properties for Groovy

Groovy's forthcoming AST Transformations feature tackles a common boilerplate template: bound JavaBeans properties.

technology: dzone.com: tech links

JavaBuilder for Swing : now with two-way binding support!

Latest updates to JavaBuilder for Swing, an attempt to bring dynamic language-level productivity (and even better) to Java programming, in particular Swing UI creation. Relies on defining layout/controls in YAML and wiring them to the corresponding Java class using convention over configuration principles, Inspired by Groovy SwingBuilder and GTK+ libGlade.

technology: dzone.com: tech links

JavaBuilder for Swing : automatically populating variable references and introducing Javascript-style event handlers

Ongoing changes to the JavaBuilder concept, oriented towards bringing dynamic language-level productivity to UI creation in plain Java. Inspired by Groovy SwingBuilder and GTK+ libGlade, but using YAML (as in Ruby on Rails) as the UI definition format. This one covers automatically syncing variables across the Java and YAML domain and introducing Javascript style event handlers (e.g. onKeyPressed) to avoid the need for manually coding KeyListeners, FocusListeners, etc.

technology: dzone.com: tech links

Java Builder for Swing: a complete complex layout sample

A more complex Java Builder example that creates a Swing frame using a YAML file for format/layout/properties, with full support for internationalization, resizing, layout and action commands. Inspired by Groovy's Swing Builders, MigLayout and of course GTK+ libGlade

technology: dzone.com: tech links

Java Builders challenge : send me your most complex UIs

Need your most demanding UIs to test against a new Java UI building framework that uses YAML and MigLayout under the hood (inspired by Groovy's Swing Builder and GTK+ libGlade).

technology: dzone.com: tech links

GraphicsBuilder: update on SVGRenderer

GraphicsBuilder has had SVG support for some time ago, but it only supported transforming SVG documents into groovy code. Not anymore! it now is capable of writing SVG documents too, thanks to SVGRenderer.

technology: dzone.com: tech links

Groovy SwingBuilder Model Binding

I've been messing around with Groovy's SwingBuilder in my spare time. I did quite a bit of google-ing trying to figure out how to bind widget values to model properties. The example on the Groovy website wasn't very real world though it did get me pointed in the right direction.

technology: dzone.com: tech links

JavaBuilders : taking on the complex GUI example from ZoneLayout

An attempt to come up with the API that would allow to design complex GUIs using MigLayout under the hood and interring the layout from how the controls are laid out in a plain YAML file. Hopefully, it may even beat Groovy's Swing Builder...

technology: dzone.com: tech links

Java Builders : laying out Swing controls in text...crazy or just crazy productive?

An attempt at bettering even what Groovy Swing builder offers by creating a visual, text-based layout mechanism for creating Java Swing GUIs (and SWT as well), using MigLayout under the hood.

technology: dzone.com: tech links

GraphicsBuilder: nodes at a glance

I've been working to get the next release of GraphicsBuilder ready, which now includes the full range of Jerry's filters, here is a list of all available nodes to give you an idea of what you can accomplish with GraphicsBuilder so far

technology: dzone.com: tech links

GraphicsBuilder: Balloon shape

When I was taking on the challenge of making Groodle #2 look good that I decided to refactor TabRect into a more versatile shape: Balloon. It is still a union of a rounded rectangle and a triangle but has more room for customization.

technology: dzone.com: tech links

Page 1 | Next >>