» tagged pages
» logout

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

Creating pluggable applications with Wicket and Spring

Wicket’s component and OO nature make it very easy to create plugins which affect the UI in different ways. In this article we are going to build a simple application that allows the user to create an article for a (Wicket based) CMS and configure how it should be deployed. Out of the box we are going to support a fictional FTP and HTTP POST deployers, each with their own configuration data and editors. We are going to abstract the deployer into a plugin system so new ones can be easily created and added to the application. The sample project provided works with Hibernate, Spring, and Wicket.

technology: dzone.com: tech links

Making a JTable fill the view without extension

Ahhh, the old table-doesn’t-fill-the-view problem. Nothing says “this is a Swing app” more than a JTable that only fills up part of it’s parent JViewport. Apparently this behavior was not the original behavior (as I had once thought), but was introduced, presumably as a bug, back in Java 1.2 (see this bug report). This behavior has been fixed in Java 6, though not by default - you have to call JTable.setFillsViewportHeight(true).

technology: dzone.com: tech links

JGrid : a folder-like view, enhanced with JXLayer

I have finish coding this since 3 weeks and still haven't found the time to write a post, so here we go : I have updated my "sexy" swing app with a component which is a mix of a JTable and a windows folder : The size of the cells is dynamic, so for example if you move the slider at the bottom the content will grow or shrink

technology: dzone.com: tech links

SWT, Eclipse 4 and custom skinning

Are SWT and Eclipse moving away from native widgets? If you follow the development mailing lists of the relevant Eclipse subprojects, this might be one of the more interesting questions for Java UI developers.

technology: dzone.com: tech links

Dynamic Data - Experimenting with YUI's DataTable and DataSource Controls

I spent a few hours putting together a Dynamic Data web site using the YUI DataTable and DataSource components. I mostly just did this out of curiosity to see how easy or difficult it would be to use the DD API with other components besides the GridView and DetailsView controls. So I created a DD web site that provides read-only access to Northwind's Customer, Employee and Supplier tables, but I am not using ASP.NET's GridView, DataSource and UpdatePanel controls to render the grid. Instead I have replaced these components with YUI's client side DataTable and DataSource and serve the data using a web service (paging included!). Below are a few of the highlights, and don't forget to download the sample and try it out for yourself. Its experimental, but if you are new to DD or YUI you might find it interesting.

technology: dzone.com: tech links

Griffon: injecting resources with Fuse

More than a year ago a series of post regarding Fuse and Groovy (I, II, III) were laid out on this blog, that clearly show I didn't know what I was getting into. These days I know a bit more about Groovy and creating Swing apps with it than then so it seemed like a good idea to revisit FuseDemo but this time make spicing it up with Griffon.

technology: dzone.com: tech links

Drawing gloss gradients in CoreGraphics

This post presents a function — DrawGlossGradient(CGContextRef context, NSColor *color, NSRect inRect) — that will draw a "gloss" gradient in a single statement. All colors in the gradient are calculated from the single color parameter.

technology: dzone.com: tech links

Griffon: Identifying the Dark Underbelly of Java

It seems to me that Griffon (brand new Groovy-based Swing MVC-structured framework) has identified the dark underbelly of the Java desktop world—there are no guidelines for how an application's sources should be structured. Two of the bloggers I read today on the excellent http://groovyblogs.org confirm this

technology: dzone.com: tech links

Porting to Griffon

In Flying with Griffon, I created a simple scenario in Griffon, to show how this new Swing MVC framework functions and what some of its benefits are. A different approach, one that is potentially even more illustrative, is to take an existing Java desktop application and port it to Griffon. That is what I propose to do in this article.

technology: dzone.com: tech links

From Photoshop to code - conclusion

The customization layer of Substance (especially the painters) aims to create a customizable and powerful separation between painting layer and the rest of the application code (business logic such as persistence, authentication, communication and more). In this separation, Substance allows working on the application visuals as a separate work flow (although the process of mapping the application areas to Swing and Substance may require closer cooperation with implementing the actual UI container structure).

technology: dzone.com: tech links

From Photoshop to code - step 5, polishing the visuals

In this entry i’m going to talk about the fifth step in the process of taking the UI definitions from your designer and converting them to a live implementation. This process is illustrated by taking design of Cookbook UI (from the My Dream App contest) and turning it into a Swing application using Substance look-and-feel. The code behind the process is available in the Substance Samples project that aims to provide a collection of blueprints for creating visually rich UIs in Swing.

technology: dzone.com: tech links

SwingX 0.9.4 Released

Finally, after having to wait for few more weeks then originally planned, SwingX-0.9.4 is released.

technology: dzone.com: tech links

The 5 Best Things About Griffon

And here's what I like best about Griffon so far: 1. I can use Groovy. 2. I can reuse everything I learned from Grails. 3. I am almost forced to think in an MVC-way about my Swing application. 4. At the end, for no extra effort whatsoever, I not only have a Swing application, but also an applet and a JNLP application. 5. Griffon is under active development by people who know what they're doing, having learned from the successes and mistakes of Swing, in a modern context, so I'm expecting the best of all worlds within a single framework.

technology: dzone.com: tech links

Flying with Griffon

New frameworks come and go. They tend to stand and fall based on whether people start experimenting with them. The new Griffon framework is unlikely to fall any time soon, since the large and vibrant Groovy/Grails community has a vested interest in it. However, to do my bit, I'm going to start playing with it myself.

technology: dzone.com: tech links

MochaUI Version 0.9.5 Released

MochaUI is a web applications user interface library built on the Mootools JavaScript framework. You can use it to build rich web applications, virtual desktops, web sites, widgets, standalone windows, modal dialogs and wizards. MochaUI is open source and distributed under the MIT licence.

technology: dzone.com: tech links

Jazz Desktop Application Framework

Jazz is a framework for developing cross-platform desktop applications in Java. Jazz is build on top of Swing and provides an infrastructure and many features for writing large-scale applications. Is easy to learn and enforces clean separation of presentation and business logic. Jazz is a powerful alternative to plain Java/Swing.

technology: dzone.com: tech links

Day project learning Ruby Shoes and making a tiny IM client

Inspired by two posts _Why’s ’so create’ and GitHub’s Start a Side Project I decided that I needed to do a quick side project. After our demo day we were taking the weekend easy and I had some extra time on Sunday. I decided that I should find a really quick project something I could really just do in one day. Since I was partly inspired by _why, I decided to take some time to learn Shoes.

technology: dzone.com: tech links

Why GWT matters - part II

This article provides a conclusion of reflections on the Google Web Toolkit and suggests why we are finally recouping some of what we lost when we switched to developing applications for the web from the desktop.

technology: dzone.com: tech links

YUI 3.0 Preview Release 1

The YUI team is pleased to announce the public availability of YUI 3.0 Preview Release 1, an early look at what we’re working on for the next generation of the YUI Library. Documentation for YUI 3.0 is on the YUI website; the download is available on the YUI project area on SourceForge; you can find us with questions or comments on the YUI 3.x discussion forum. Keep in mind that this is an early preview, not a production-quality (or even a beta) release. This release is not suitable for production use, but it will give you an idea of what we’re working on, and it should provide a good framework for conversation about the future of the library.

technology: dzone.com: tech links

Enhancing Flamingo’s ribbon component

The goal of Flamingo project is to provide a small and cohesive set of powerful UI components with functionality similar to or superseding that of Vista Explorer and Office 2007. Command bar is one of the more complicated UI components in the Office 2007, and Flamingo’s JRibbon is the all-Java implementation of this component. It is already being used by a number of projects which provide valuable feedback on the missing parts and help in prioritizing their development. Recently, i have added two user-requested features to the JRibbon - modifying the contents of in-ribbon galleries and support for contextual tabs.

technology: dzone.com: tech links

CSS Frameworks

Learn about CSS Frameworks and find list of all important CSS Frameworks.

technology: dzone.com: tech links

"News Ticker" with horizontal scroller using Mootools

This tutorial is another version of my News Ticker with Mootools I published yesterday. I want to reply to all that wrote me asking for information about how to implement a news ticker with horizontal scroller. Don't panic, it's very simple to implement and reuse in your projects.

technology: dzone.com: tech links

Swing links of the week: July 27, 2008

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

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

JXLayer 3.0 - Event handling

One of the biggest advantage of JXLayer 3.0 over the previous version is the ability to catch input events of its subcomponents. I started to think about this feature when I was asked if it was possible to implement the auto-scrolling feature with jxlayer. With JXLayer 2.0 you can easily paint a scrolling indicator on top of the wrapped component, but how to catch a mouse press event to activate the scrolling?

technology: dzone.com: tech links

Search Java Swing tutorial, guide and javadoc from your browser "quick search" field

This search engine for Swing and java2D index the following sites : http://java.sun.com/docs/books/tutorial/ui http://java.sun.com/docs/books/tutorial/uiswing http://java.sun.com/docs/books/tutorial/2d http://java.sun.com/javase/6/webnotes/trouble/TSG-Desktop/html/ http://java.sun.com/docs/books/tutorial/extra/fullscreen And also the Javadoc from the javax.swing and java.awt package. You can click on the "Javadoc" tag in the results list to search only the Javadoc, or on "Others" to exclude the Javadoc.

technology: dzone.com: tech links

JList + expandable = JExpandList

An "expandable" list is a list which has a bigger selected item. A good example is the add-ons list in Firefox (Tools / Add-ons)

technology: dzone.com: tech links

Swing links of the week: July 20, 2008

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

technology: dzone.com: tech links

Swing applications and Mac OS X menu bar

Every once in a while i get questions on using the Mac OS X menu bar for Swing applications running under Substance look-and-feel. This refers to the apple.laf.useScreenMenuBar VM flag that is respected by the native Aqua look-and-feel (and its third-party Quaqua extension). Up until this week the only advice that i could give was to use AWT menus (thanks to Quaqua’s author Werner Randelshofer for this). However, it is not the optimal solution for cross-platform Swing applications that wish to use Swing menus on non-Mac platform.

technology: dzone.com: tech links

JXLayer 3.0 - LockableUI

LockableUI is definitely one of the most challenging feature in the JXLayer library. I have already written about why it was difficult and suggested several solutions and discuss the potential problems. So it was a long way to make it right and now I am satisfied with the result.

technology: dzone.com: tech links

Swing links of the week: July 6, 2008

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

technology: dzone.com: tech links

Cheri: Swing Builder for JRuby

This is the first in a two part series covering Ruby libraries targeted at the Swing application development using the Java implementation of the Ruby programming language: JRuby. Cheri's provides a "builder" - a domain specific language (DSL) - that makes Swing application development both expressive and intuitive.

technology: dzone.com: tech links

A simpler way of expressing state machines in code.

Looking at possible ways of making a simpler DSL for GUI state machines.

technology: dzone.com: tech links

ExtJS...first impressions

I've been working with ExtJS lately, and I must say I am highly impressed. For those of you not familiar with ExtJS (Ext), Ext is a crossbrowser javascript framework that allows for the creation of RIA (Rich Internet Applications).

technology: dzone.com: tech links

Swing links of the week: June 29, 2008

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

technology: dzone.com: tech links

Page 1 | Next >>