Forum Controls
Spotlight Features

The Rich Engineering Heritage Behind Dependency Injection

Andrew McVeigh takes us on a tour of the rich heritage behind dependency injection, what it represents, and tells us why its here to stay.

NetBeans 6: Matisse Updates

NetBeans 6 delivers great updates to the Matisse GUI builder. Spend a few minutes with Roman Strobl and get an expert briefing on what's new and what has changed.

Introduction to Groovy Part 3

In this, the third and final installation of Andres' Introduction to Groovy series, you learn about how Groovy handles variable numbers of arguments, named parameters, currying, and more about Groovy operators. Including, some new operators.

Easier Custom Components with Swing Fuse

Swing Fuse (actually just Fuse), is a framework designed to make it easier to create your own custom desktop components. In this article, Daniel Spiewak shows you how to get started and provides sample source code you can download.

Benchmark Analysis: Guice vs Spring

Willam Louth shows how he uses JXInsight Probes to investigate probable performance issues with code bases that he is not familiar with. He also highlights possible pitfalls in creating a benchmark, as well as in the analysis of results.
Replies: 0 - Pages: 1  
  Click to reply to this thread Reply

JGraph Picasso (v5.4.4) Released

URL: JGraph.com

At 5:20 PM on Mar 28, 2005, Gaudenz Alder wrote:

Adds helper methods in GraphLayoutCache & GraphConstants, improves rendering performance, fixes bugs in BasicGraphUI & GraphEd, adds graph-parameter in BasicMarqueeHandler.paint and overlay:

New parameter in BasicMarqueeHandler.paint and overlay

These methods have been changed to include the current graph. Since these methods are always called in the context of a specific event, the graph is part of the caller's state, not the callee. To migrate your code, simply change the subclassers method signature to match that of the parent class, namely by inserting an argument in paint and overlay as in:

public void paint(JGraph graph, Graphics g);

public void overlay(JGraph graph, Graphics g, boolean clear);

New return value in BasicGraphUI.MouseHandler.handleEditTrigger

A boolean return value was added to indicate whether the editing has actually started. This is a fix for events that are outside the cell editor's hit region, in which case the cell is not selected when the edit click count is set to 1. This bug still exists in various Swing components. (Thanks to Timothy Wall from the Abbott project for this fix!)

New helper methods

* GraphLayoutCache.getEdges: Returns all visible, conntected edges for a cell (with various switches)
* GraphLayoutCache.edit(Map): Shortcut method to avoid passing null parameters
* GraphLayoutCache.editCell(Object, Map): Changes a single cell (no nested map required)
* GraphLayoutCache.getNeighbours: Returns the neighbours of a cell (with various switches)
* GraphConstants.merge(Map, Map): Merges two nested maps

Other changes

* Changes GraphLayoutCache.setAllAttributeLocal to setAllAttributesLocal
* Replaced certain setViews calls in EdgeRenderer with assignment of view where setView is called directly afterwards for performance reasons
* Adds createGraph method, graph accessors, static inner classes in GraphEd
* Fixes GraphEd.connect to check against acceptsSource and acceptsSource

The migration guide is here:
http://tinyurl.com/4atjn#JGraph_5_4_4
For more information visit http://www.jgraph.com

thread.rss_message