my bookmarks

Archive for the ‘java’ Category


jtable examples

Sep 25, 2008 Author: admin | Filed under: User Interface, java

JTable Examples

pivot - reinventing the java applet

Jun 16, 2008 Author: admin | Filed under: java

InfoQ: Pivot: Re-Inventing the Java Applet?

Pivot borrows several ideas from toolkits such as Swing, while also taking advantage of the improvements made in the Java2D pipeline over the last several years. Applications built with Pivot will be developed using a combination of Java and XML.

Pivot, as a platform, is meant to directly compete with Flex and Silverlight as a rich-client that is embeddable directly in the browser. The Pivot developers consider part of that platform to be Java 6 update 10, also known as the consumer JRE.

In March of 2007, Greg Brown posted ‘Reinventing the Applet’ on his blog, where he discussed several of the shortcomings of the then-current-iteration of applet technology, and what he felt would need to be fixed to make applets more competitive. The recent announcement of Pivot was posted as a follow-up to that original article. He now describes the consumer JRE as a key element to the success of Pivot. There are a number of technologies in the JRE update that play an important role in the viability of any embedded application developed using applet technology:

* Java kernel - The Java kernel reduces the download size of the base JRE significantly.
* Next-Generation Java Plug-in - The new Java plugin runs as a separate process from the browser, preventing browser lock-ups, crashes, and other slowdowns. It also provides better user feedback during startup and other state transitions.
* Java Deployment Toolkit - The deployment toolkit provides all of the necessary APIs and browser integration to provide a seamless installation/upgrade process, making it simple to determine Java version, and help users upgrade as necessary.
* Java QuickStarter - The quickstarter takes advantage of OS disk cache (among other things) to improve Java VM startup times.
* Direct3D Integration - For Windows users, the changes to the Direct3D pipeline should improve rendering performance for anything using Java2D. For other platforms, a similar overhaul of Java2D for OpenGL was performed previously.

Java 6 update 10 is currently in beta, and is intended for public release later this year.

The announcement of Pivot triggered a number of positive and inquisitive comments - Ben Galbraith offered a lot of input as well as a number of questions:

Looking over your classes now. Interesting how your architecture is from a high-level is very similar to Swing. The contract for components, UI delegates, listeners, etc. is all quite similar (e.g., the way layout works is in particular very similar). Were you shooting for “Swing evolved?”

I can see you’ve hit a few of my favorite Swing pain points:

* preferred width and height available as separate or atomic properties
* wrapping labels (do you support any label text formatting? doesn’t look that way)
* row-based table data model
* built-in “form” constructs

Some addt’l questions:

* Why in heaven did you create your own collections classes? Why, man, why?
* Do you have any analog for Swing’s UIDefaults?
* Why did you leave state out of your Action interface? Do you have any analog to Swing’s Action interface in terms of sharing action state?
* I didn’t see any layout managers; how do you handle layout? The tutorial mentioned that skins do it, but I didn’t see any contract stand out (other than the built-in methods on Container).

classloaders

May 28, 2008 Author: admin | Filed under: java

classloader OR “class Loading” introduction OR tutorial OR basics - Google Search

classloaders

May 28, 2008 Author: admin | Filed under: java

TWiki . Javapedia . Classloaders

Classloaders

Articles

* Internals of Java Class Loading
* Inside Class Loaders
* Inside Class Loaders: debugging
* Understanding Network Class loaders
* Understanding Class.forName
* Get a load of that name!
* Find a way out of the ClassLoader maze
* Create a custom Java 1.2-style classloader
* J2EE Classloading Demystified
* BEA WebLogic Server classloading
* Understanding J2EE Application Server Class Loading Architectures
* Advanced Classloading in J2EE
* Tyler Jewel’s article about EJB classloading schemes
* Class Loading in J2EE and Oracle9iAS Environments -PART II
* Classloading best practices
* Managing Component Dependencies Using ClassLoaders
* Websphere 6.1 classloaders

Open source projects

* http://classworlds.codehaus.org/ - a classloader framework
* http://which4j.dev.java.net/ - trouble shooting tool for “where am I getting this class from?” issue.

swing demos

May 28, 2008 Author: admin | Filed under: java

Romain Guy’s Weblog: Playing with Java, Swing and UI Design.

Swing Demos, Components and Designs
3D With Swing
This demo shows you how to mix Java3D and Swing with style.

Wait With Style in Swing
Learn how to create a nice looking, infinite progress indicator.

Drag With Style in Swing
Learn how to create a stylish drag n’ drop effect for components and pictures.

Search With Style in Swing
This demo shows a spotlight effect to highlight search results.

Shadowed Splash Screen
Learn how to add a shadow to a Swing splash screen.

WaveUI, Packed With Effects
WaveUI is an example of how cool a Swing application can look.

Dynamic Debugging With
Shows how to use Swing to help you graphically debug your Swing designs.

3D Splash Screen With Swing
Learn how to create a splash screen in 3D with Java3D and Swing.

A JNI Tale
An example of what JNI can do for you in Swing.

Swing in 3D
With a bit of painting code you can make a Swing application appear in 3D with stereo glasses.

Glass Pane Activator
This simple API let you enable, disable and stack glass panes on the fly by pressing a single key on your keyboard.

Drag n’ Splash
Shows a splash/rippled animation when you drop a file onto a window.

Wobbling Window
This demo shows a wobbling window. The window’s content is animated like a flag or a tablecloth. Uses OpenGL through the JOGL API.

Follow The Curves
This demo presents an animated login dialog created with Java2D.

Help Your Shelf
This demo presents an animated waiting dialog created with Java2D.

Flash Like Animations
This demo presents a Flash style animation.

Pretty Swing UI
A nice looking Swing UI built with Plastic LaF.

Translucent Menus
Learn how to create translucent menus in Tiger and Mustang.

Swing Glint
Create reflections for your pictures in Swing.

Jewel Case
Create a realistic plastic CD case with Java2D.

Non Rectangular Drop Shadows
How to create drop shadows for any picture with an alpha channel.

A Music Shelf with Java2D
A realistic looking CD shelf with reflections and 3D animations.

Blown Away
Exposé-like effect for dialogs.

Real World Physics
Use real world physics to add visual animated feedback to your UI.

Drag and Drop Effects Part 1
Use advanced rendering techniques and animations to provide better drag and drop visual feedback.

Drag and Drop Effects Part 2 (Almost)
Use advanced rendering techniques and animations to provide better drag and drop visual feedback.

Drag and Drop Effects, The End
Use advanced rendering techniques and animations to provide better drag and drop visual feedback.

A Button With a 3D Icon
Using OpenGL and Swing to create an animated 3D icon for JButtons.

Twinkle, an OpenGL/Swing Photo Viewer
Using OpenGL and Swing to create a modern and innovative user interface.

Fuse/Swing Demo
How to use Fuse project resource injection to create nice looking UIs.

Splines and Graph
A spline editor and a graph display, using animations and SwingX.

SwingX Painters
Create stunning visuals with just a few lines of code thanks to SwingX painters.

More on Painters
Learn how to create advanced visual effects with SwingX painters.

Aerith, a stunning Swing applications
Aerith showcases a wonderful looking Swing UI that mixes advanced 2D rendering, 3D components and many animations.

New blending modes for Java2D
Where I talk about AlphaComposites and the need for new Composite implementations. This entry contains 32 new composites for Java2D.

Aerith Hi-Def Videos
Large resolution videos of Aerith running on Mac OS X. Shows all the animations and 3D effects.

Extreme GUI Makeover 2006 Videos
Large resolution videos of Extreme GUI Makeover 2006.

Simple Tools with Great UI
A simple tool sporting a very nice UI.

Special Effects with SwingX
Helper classes to easily create advanced graphical effects.

Swing Team
Meet the Swing Team, Part 1
Photos of some members of the Swing Team.

Meet the Swing Team, Part 2
Photos of some other members of the Swing Team.

Web Design and Effects
Browser-Generated Reflections for Pictures
Creating reflections for any picture in a browser by using the canvas element.

On UI Design
The Future of Source Code Editing
Thinking about our future as developers.

Using Games Development for UI?
Thoughts about what games could bring to classical UI design.

Every UI Designer Should…
Why should every UI designer buy and play with a Nintendo DS.

Rants
I Plead Guilty
Every time I code in Java, I feel guilty… discover why.

Stunning Applications
Delicious Library
Delicious Library helps you manage your books, CDs, DVDs and games collections.

NewsFire
NewsFire is an impressive RSS reader.

Glass Engine
An innovative way to seek for information.

Imagery
Imagery is a Swing application with an impressive design.

Quartz Composer
Quartz Composer is a fun and cool looking application you can use to create Quartz scenes on MacOS X.

Lightzone
Lightzone is an innovative, Java/Swing based photographs editing tool. Well worth the look and the try!

Disco
Disco a Mac OS X CD burning application sporting a wonderful good-looking and easy to use user interface. A must see.

shadow jframe (splash)

May 28, 2008 Author: admin | Filed under: java

Romain Guy’s Weblog: Playing with Java, Swing and UI Design.

You can run the WebStart demo or, as usual, download its source code.

Ok, this is not a really innovative effect but I wanted to implement it since I first saw the java.awt.Robot class. It took me years but I finally made it :) Anyway, the ShadowedWindow class lets you display a splash screen with a shadow beneath. The shadow appears to be cast on your desktop. The trick, as you may know, is to grab a part of the screen with Robot and to draw the splash screen upon the capture. This approach is easy to implement and quite efficient but you don’t want to use it when your splash screen remains a long time on the screen. Since a “screenshot” is performed, the splash cannot reflect the changes happening behind it.

iframe, jframe replacement

May 28, 2008 Author: admin | Filed under: java

Go state-of-the-art with IFrame

The IFrame is an application window architecture that allows custom colors, custom borders, custom shapes, custom components, and even transparency. With IFrame, you can get rid of that boring old JFrame you use everywhere in your applications. In this article, IT Specialist Michael Abernethy introduces you to the IFrame class and shows you how you can use it to transform your standard JFrame application windows into state-of-the-art IFrames in no time.

Since the days of Java 1.0, UI developers have been searching for a way to customize their application windows. With the introduction of Swing, the problem was exacerbated, because developers could create the most sophisticated, advanced widgets with an amazing look and feel, but were constrained by the Frame or JFrame that contained it and its OS-specific look. How often have you seen an application that looks good inside the frame’s borders, but that the blue Microsoft Windows title bar just doesn’t match? Even worse, the application has a 1970s-looking Motif look and feel, but uses the smooth gradient colors of a Microsoft Windows title bar.

gherla jdic

May 28, 2008 Author: admin | Filed under: java

java.net Forums : WebBrowser is not initializing properly …

WebBrowser is not initializing properly

jframe transparent background

May 27, 2008 Author: admin | Filed under: java

Swing - Semi-transparent JFrame

Semi-transparent JFrame

fisheye menu

May 27, 2008 Author: admin | Filed under: java


Fisheye Menus

The applet on the left shows our fisheye menu, as well as the three most common mechanisms currently used to select from a long list: arrows to scroll the list, a scrollbar to scroll the list, and hierarchical organization.

The fisheye menu is designed to be self-explanatory. All of the items are visible, and can be accessed by moving the mouse. No mouse clicks are necessary for navigation. Because there are so many items, a small mouse motion will move to the next item, so a focus lock mode has been implemented which lets you select items near the focus more easily. Move the mouse on the right side of the fisheye menu to enter focus lock mode, or on the left side for regular fisheye mode.

We expect that the fisheye menu is nearly as efficient as the hierarchical menu for directed tasks (where you know what you are looking for), but much better for browsing tasks.

Advertising



Most Popular

  • None found

Recent Comments

  • None found