Wednesday, June 27, 2007

Develop Intelligent Dashboards with the .NET Dashboard Suite 3.0

Perpetuum Software LLC, a global software vendor, represents a new version 3.0 of the .NET Dashboard Suite, a powerful medium of visual communication of data allowing the design of the most advanced digital dashboards for Windows Forms apps.

"Now, to develop an adequate dashboard or any other data visualization application, you don't need to look for separate components from different vendors, and solve the problem of their compatibility. We developed a pack of fully compatible components with ample capabilities for general and specific data visualization," says Kate Mokhoff, a head of Perpetuum Software sales department, about the new version release.

One of the main benefits of dashboard use is the ability to display data in various forms. The .NET Dashboard Suite provides the complete set of data visualization tools: high-resolution ready-made gauges, charts, graphs, diagrams and much more. Moreover, an intuitive designer of the product allows the creation of non-standard controls on the base of the existing ones as well as their design from scratch. And this new version of the .NET Dashboard Suite makes this process very simple, fast, and intuitive due to the improved designer; some properties are available not only in the property grid but also from the designer toolbar.

Particular visual analysis features are not only useful but essential for each data visualization tool. The unique architecture of the product provides an ability to combine objects arbitrarily, allowing the creation of controls configurations that are difficult or impossible to build using other approaches. So, you can create even the most complicated dynamic and interactive dashboards to monitor and analyze your critical data.

During the application creation process it is very hard to predict all the needs and requirements of the target user. The .NET Dashboard Suite gives developers a free hand over the dashboard customization: from the appearance to the behavior of the controls.

The .Net Dashboard Suite lets you monitor your business performance using highly visual gauges and charts on your desktop. It is agile and easy-to-use software, allowing any company or organization, of any level, to gain the competitive advantage of using real-time business dashboard software.

To learn more about the .NET Dashboard Suite, please visit:http://www.perpetuumsoft.com/Product.aspx?lang=en&pid=44&prw=db30

To download a fully functional trial version of the product, please follow this page:http://www.perpetuumsoft.com/Downloads.aspx?lang=en&pid=44&prw=db30

About the .Net Dashboard Suite
The .Net Dashboard Suite is package of the following components: Chart ModelKit, and Instrumentation ModelKit. All components are written in C#, fully compatible with each other and provide similar design-time and runtime customization facilities, common data management, and appearance customization methods. There are available two versions of the product: the .NET Dashboard 2.3 that is compatible with the .NET 1.1 and 2.0 and the .NET Dashboard 3.0 that is specially designed for the .NET Framework 2.0.

About Perpetuum Software
Perpetuum Software specializes in development of high-quality .NET and ASP.NET software components compatible with MS Visual Studio .NET, C# Builder, Delphi .NET and other IDEs supporting .NET Framework. Such use-proven components as Report Sharp-Shooter, Instrumentation ModelKit, OLAP ModelKit, Chart ModelKit, .NET Dashboard Suite and other .NET components by Perpetuum Software are already well known on the software development market and are used by developers in more than 50 countries.

Source: PRWeb

Concentrated Cocoa Returns to the Big Nerd Ranch, September 17-21, 2007

Big Nerd Ranch, Inc., premier provider of intensive, week-long training classes for programmers, system administrators and web developers, announced the return of Cocoa Bootcamp for September 17-21, 2007. Taught by renowned Cocoa instructor, Aaron Hillegass, Cocoa Bootcamp provides intensive and challenging instruction over five days on one of the most sought-after development languages in the industry. The Cocoa training class is designed for experienced Cocoa progammers and Cocoa initiates alike and is currently being taught on Mac OS X 10.4 and Xcode 2.3 with a significant amount of time spent on Core Data.

"Why take Cocoa Bootcamp at the Big Nerd Ranch," mused Aaron Hillegass, Cocoa Bootcamp instructor. "A Buddhist monk should be kind and patient. Can you teach someone to be kind and patient? I don't think so. So, to train Buddist monks, they create an environment where the students can find kindness and patience themselves. I can't make you a great Cocoa programmer, but I can create an environment where you can find the great Cocoa programmer inside yourself. After five days at the Big Nerd Ranch, I believe you will."

Using his widely acclaimed 'Cocoa Programming for Mac OS X' as the course text, Aaron guides students through the book from start to finish. Aaron deconstructs his own material by utilizing a three-part format for instruction: lecture, question and answer session, and praxis. Methodically building on each concept outlined in the book, Cocoa Bootcamp covers impressive ground in the training and development of confident, knowledgeable Cocoa programmers, primed to apply their new Cocoa skills to real-world projects.

The class includes comprehensive instruction in the following key areas:

  • A fast, hard ride to Objective-C mastery
  • Controller, bindings, even more bindings and a whole lot of CoreData
  • User defaults, preferences, alerts, and notifications
  • Getting the most out of your custom view with mouse and keyboard events, images, drag and drop, and the open panel
  • NSTimer, attaching sheets, formatters, printing and pagination
  • Creating a reusable framework
  • Creating and manipulating 3-D views with OpenGL
  • Generating Unix processes that communicate with your application

No prior experience with Cocoa or Macs is required, but familiarity with an object-oriented programming language like Java or C++ is expected for the September offering.

The Big Nerd Ranch incorporates intensive training classes for Unix and Mac OS X programmers and system administrators in a retreat setting outside Atlanta, GA. Class price of $3500 includes lodging, all meals, original instruction materials, 24-hour lab access, and ground transportation to and from the Atlanta airport. Students are encouraged to bring independent projects to class, allowing for input from classmates and individual instructor attention. For more information, call 678-595-6773 or visit http://bignerdranch.com/

Source: PRWeb

xSQL Software's Comparison And Synchronization Tools Are Now Free For SQL Server Express Edition

xSQL Software, a provider of SQL Server tools and utilities, announces an important change on the licensing of its SQL Server database comparison and synchronization tools - those tools will now be free for SQL Server Express Edition.

xSQL Object for comparing and synchronizing database schemas and xSQL Data Compare for comparing and synchronizing the data in two databases help developers transfer database changes from one server to another, track database schema changes, identify data differences between two databases, verify replication, script databases or individual objects within a database, and more.

"Distributing our database comparison and synchronization tools for free to SQL Server Express users will help us increase the adoption rate in a segment of the market where the automation of the database change management is not a priority," said Naim Sula the CEO of xSQL Software. "We want to be able to show those developers how much time and effort they can save by using such tools."

xSQL Software's comparison and synchronization tools are best of class tools as measured by:

  • breadth of functionality they provide
  • depth of support of SQL Server
  • performance - memory and processor utilization
  • level of control they provide to the user

xSQL Object, xSQL Data Compare and the associated Command Line utilities are available immediately from xSQL Software's web site at http://www.xsqlsoftware.com

xSQL Software develops tools and utilities for SQL Server Database Administrators and developers. xSQL Software is a subsidiary of Bright Minds Group, Inc. an Atlanta-Georgia based company. You can reach the company on the World Wide Web at http://www.xsqlsoftware.com

Source: PRWeb

Instantiations Products Roll with Eclipse Europa

Instantiations, Inc., a leading provider of software quality and productivity solutions, announced today that its entire Eclipse-based product line provides immediate support for the Eclipse Europa release.

Europa, also known as Eclipse 3.3, is a massive update that includes the Eclipse platform and 20 Eclipse open source projects. The Eclipse Foundation, a nonprofit organization providing open source, extensible development software for building cross-platform applications, announced the latest Eclipse release today.

"As a commercial vendor of software development tools, working closely with the Eclipse Foundation, we assure our customers a known product road map and access to the latest features in Eclipse the moment a new release comes out," said Michael Taylor, CEO. "Our customers expect us to be among the first to support new Eclipse releases to meet their business needs, technical requirements and project schedules."

According to Taylor, Instantiations has been working closely with the Eclipse 3.3 code since early milestone releases so its customers could take advantage of the latest Eclipse features. Instantiations software developers downloaded new Eclipse builds almost nightly and updated their projects to gain immediate Eclipse compatibility for customers. A popular development environment that makes new system development much more efficient, Eclipse lets developers build cross-platform applications that run on multiple operating systems, including Microsoft Windows, Linux and Macintosh, with little or no modification.

"Instantiations has been a key member of the Eclipse community from the very beginning," said Mike Milinkovich, executive director of the Eclipse Foundation. "It is important that commercial companies like Instantiations deliver their products on new releases of Eclipse in a timely manner. We are delighted that Instantiations has delivered their new product releases based on Eclipse Europa so quickly."

Instantiations has four primary Eclipse products: WindowBuilder Pro™, WindowTester Pro™, RCP Developer™ and CodePro AnalytiX™. Its market-leading product for creating graphical user-interfaces (GUIs), WindowBuilder Pro is used by tens of thousands of Eclipse developers worldwide. WindowTester Pro automates testing of Java GUIs with tools for recording, test generation, code coverage and playback of GUI interactions. RCP Developer is the first development tool to leverage the open source Eclipse Rich Client Platform (RCP) for creating Java-based client and standalone desktop applications. A powerful automated software quality tool, CodePro AnalytiX helps developers measure and improve the quality of software as they create it.

Pricing and Availability
All products will be available for download on June 29 -- the same day Eclipse 3.3 becomes generally available. Product upgrades are available at no cost to customers with current support agreements. For additional information, pricing or upgrades please contact our sales department at (800) 808-3737. The products and free, full-feature evaluations may be downloaded from the company's web site at www.instantiations.com.

About Instantiations
Instantiations, Inc. provides leading-edge software products, services and technologies for Eclipse, Java and Smalltalk. The company offers high-value, high-ROI professional development environments and consulting that focus on improving software quality and developer productivity. Instantiations is a member of the Eclipse Foundation and offers a line of products for Eclipse, IBM Rational and WebSphere Studio, and MyEclipse. Based in Portland, Ore., Instantiations was founded in 1997 by a team of internationally recognized pioneers in component software technology. It has been named as one the fastest growing Oregon companies and has been ranked among the top 100 companies influencing software development. For more information, visit www.instantiations.com.

WindowBuilder Pro, WindowTester Pro, CodePro AnalytiX, and RCP Developer are trademarks of Instantiations, Inc. Java is a trademark of Sun Microsystems. All other trademarks are the properties of their respective companies.

Source: PRWeb

Wednesday, June 20, 2007

xSQL Software's RSS Reporter for SQL Server Makes Job Monitoring Easy

xSQL Software, a provider of SQL Server tools and utilities, announces the release of RSS Reporter for SQL Server, a utility for generating RSS feeds containing information about SQL Server jobs.

No more cluttering your mailbox with hundreds of SQL Server notifications, no more digging through those emails to get the information you need, no more missed important notifications... you can now, in minutes, generate standard RSS feeds that contain all the information you need for monitoring SQL Server jobs in multiple servers.

"We have experienced first hand the pain of monitoring SQL Server jobs utilizing the currently available tools that rely on the unreliable email alerts" said Erion Hashoti the CTO of xSQL Software. "We set out to create a better, simpler, more reliable and convenient way for monitoring SQL Server. With today's release of RSS Reporter for SQL Server we have reached the first milestone towards accomplishing that goal."

RSS Reporter for SQL Server allows SQL Server database administrators to generate standard RSS feeds that contain information regarding SQL Server jobs - the current status of the job, job details, historical status etc. It eliminates the need for going through the painful process of configuring the SQL Server email notification service and replaces email alerts with well organized feeds. Features include:

  • Each user can generate his/her own feeds that include servers and jobs of interest
  • A single feed aggregates information from multiple jobs running on different servers
  • Ability to drill down on a job and view the details
  • Ability to filter and sort feeds based on job status, sql server, job name, execution date
  • Feeds that contain historical information (example: last 10 executions of a job)

RSS Reporter for SQL Server will be distributed free of charge for a limited time. RSS Reporter for SQL Server is available immediately from xSQL Software's web site at http://www.xsqlsoftware.com/.

RSS Reporter supports SQL Server 2005 and SQL Server 2000.

xSQL Software develops tools and utilities for SQL Server Database Administrators and developers. xSQL Software is a subsidiary of Bright Minds Group, Inc. an Atlanta-Georgia based company.

All products and company names herein maybe trademarks of their respective owners.

Source: PRWeb

Development of BI Reporting Systems Became Easier with Report Sharp-Shooter 3.0

Development of such ideal reporting system can take much time and effort. Perpetuum Software LLC offers a feature-rich solution to help you make this process less time and effort consuming and more cost-effective. Report Sharp-Shooter 3.0 is a flexible report engine for .Net 2.0 capable of creating any reports from any data sources for any users and deliver reports in desirable output format: PDF, HTML, XML, CSV, MS Word, TXT, Excel, Gif, Tiff, etc.

New product version (3.0) provides enhanced features for reports creation and improved design-time experience. New designer interface makes it possible to set and/or edit report elements' properties not only in the property grid but from the tool bar. All text properties (style, size, font color, format, alignment) can be easily changed from the associated toolbar buttons. Expressions toolbar provides a more convenient way of assigning expressions for a selected element property; no need to invoke the expression editor. New syntax editor is similar to those in Visual Studio.Net. It provides the code completion and syntax highlighting features. Now it is so easy to write scripts in Report Sharp-Shooter. This new functionality considerably speeds up reports design.

New version delivers redesigned mechanism of data handling. The working with groups in Report Sharp-Shooter became easier. Now it is possible to sort groups and their elements. More over, Master-Detail reports are designed in the same way Group reports are created; this facilitates evaluation and exploration of the report generator. The DataBand component is able to perform filtering and sorting of the displayed data.

Report Sharp-Shooter can create reports including not only BI components - charts, gauges, cross tabs, but also non-BI elements such as images, logo, shapes, etc. This allows companies to extend boundaries of traditional reporting giving them non-standard ways to view how they perform.

For software, ROI is defined by its ease of use and breadth of functionality capable of solving important business tasks. Using Report Sharp-Shooter in your application will increase its efficiency. More over, a one year subscription for product updates, upgrades and fixes will help you integrate latest technologies in your project; and your reporting system will always address your users' requirements.

For more information please visit product page: http://www.perpetuumsoft.com/Product.aspx?lang=en&pid=21&prw=rss3.

About Perpetuum Software LLC:
Perpetuum Software specializes in development of high-quality .NET and ASP.NET software components compatible with MS Visual Studio .NET, C# Builder, Delphi .NET and other IDEs supporting .NET Framework. Such use-proven components as Report Sharp-Shooter, Instrumentation ModelKit, OLAP ModelKit, Chart ModelKit, .NET Dashboard Suite and other .NET components by Perpetuum Software are already well known on the software development market and are used by developers in more than 50 countries.

Source: PRWeb

Micronovae Ltd Releases IIS Mod-Rewrite Pro v2.0, Mod_Rewrite Compatible URL Manipulation Tool for IIS

Micronovae Ltd. (http://www.micronovae.com/) announces the release of IIS Mod-Rewrite Pro v2.0, a powerful module for Microsoft's Internet Information Services (IIS) that manipulates incoming URLs on the fly. IIS Mod-Rewrite Pro v2.0 is a versatile tool that helps web administrators and web developers in solving a wide range of productivity and security related issues.

IIS Mod-Rewrite Pro's most powerful feature is the support of override configurations, widely known as htaccess configurations. This feature allows IIS hosting providers to offer their clients a safe way to apply their own configurations. Furthermore, IIS Mod-Rewrite Pro v2.0 is compatible, in both syntax and behavior, with the popular Apache mod_rewrite. This design feature makes it a major time and cost saving tool for webmasters, particularly for those switching between the two leading web servers, Apache and IIS.

IIS Mod-Rewrite Pro v2.0 provides flexibility in creating diverse URL rewriting configurations by supporting three inheritable configuration levels: per-server, per-virtual host, and per-directory. Its rule based logic, which is powered by regular expressions and a sophisticated command set, provides a wide range of solutions. The following list presents a small sample of practical solutions:

  • Optimize websites for indexing by search engines
  • Make URLs human friendly
  • Increase security by forbidding access to sensitive resources
  • Manage traffic redirection
  • Block undesired traffic from a web server
  • Serve different files for different browsers
  • Create custom URL schemas
  • Handle load balancing on a cluster of web servers

IIS Mod-Rewrite Pro v2.0 also includes a user-friendly control panel that supports the following features:

  • Configuration text editor with syntax checker
  • Regular expression tester
  • Fine tuning settings
  • Online update mechanism with version history manager

Pricing and availability:
IIS Mod-Rewrite Pro v2.0 costs $190 per single server license and it is available for download and for evaluation at http://www.micronovae.com/ModRewrite/Download.html. A "Standard" version is also available at the price of $95 and supports all the features of "Pro" version except for htaccess and per-directory configuration support.

About Micronovae Ltd:
Micronovae Ltd, creator of IIS Mod-Rewrite and C++ Server Pages, is a company with high experience in development of robust server side products and solutions. Micronovae Ltd has also long experience in developing and supporting custom IT solutions for the highly demanding electric power distribution industry.

Source: PRWeb

New Converters Reduce the Pain of Converting C++ Code

Tangible Software Solutions Inc. announced today the release of C++ to C# Converter version 1.0 and C++ to VB Converter 1.0. C++ to C# Converter and C++ to VB Converter translate C, C++, Managed C++ (VC++ 2003), and C++/CLI (VC++ 2005) source code to C# and VB at the file and code snippet levels.

"C++ is such a complex language compared to C# and VB that most developers have assumed that any useful degree of automated conversion was impossible," says Dave Doknjas, president of Tangible Software Solutions. “Although these two new tools provide just the first step in migrating C++ to C# or VB, it produces a high quality result which can then be brought to production quality C# or VB code with less effort than recoding everything from scratch.”

C++ to C# Converter and C++ to VB Converter also offer customization features to allow users to specify their own C++ library function call replacements. "C++ to C# Converter and C++ to VB Converter are primarily syntax converters, replacing only the most obvious C and C++ function calls that have direct .NET equivalents, but we also allow you to specify your own replacements for C++ function calls. This minimizes the number of adjustments required in the converted code," says Doknjas. “You can specify the replacement of function calls with static or instance method calls where one of the original arguments becomes the instance variable.” Other options include general custom string replacements, placement of braces and indentation options.

Both C++ to C# Converter and C++ to VB Converter retail at US$99 per user and include help documentation and free updates and technical support for one year. The demo editions of C++ to C# Converter and C++ to VB Converter are available at: http://www.tangiblesoftwaresolutions.com/Demo.htm

About Tangible Software Solutions Inc.
Founded in 1997, Tangible Software Solutions Inc. is a software development and consulting firm specializing in .NET language tools that convert between VB, C#, C++, and Python. The company’s catalog also features such programs like Instant C#, Instant VB, Instant C++, Instant Python, and Clear VB. For more information on Tangible Software Solutions Inc., visit the company's web site at: http://www.tangiblesoftwaresolutions.com

Product web site: http://www.tangiblesoftwaresolutions.com
Product page: http://www.tangiblesoftwaresolutions.com/Product_Details/Products.htm
Direct demo download link: http://www.tangiblesoftwaresolutions.com/Demo.htm

Source: PRWeb

Change Your Colors This Fall with Django Bootcamp, September 10-14, 2007

Big Nerd Ranch, Inc., premier provider of cutting-edge training classes for web developers, programmers, and system administrators, announced today the next Django Bootcamp (http://bignerdranch.com/classes/django.shtml) dates, slated for September 10-14, 2007. Django Bootcamp was designed to address the needs of developers seeking an elegant solution for web application development, web designers striving to increase their marketability with server-side technology skills, and programmers developing Python and XML-based web services. This training class, led by Django instructor Juan Pablo Claude, is a rigorous study of the rising star in the open source, web application development community. Django has achieved global acclaim with its database-driven, Python-based design, its powerful template system and its elegance in code and file structure. By tapping the power of Python for its framework, Django offers developers a simple, efficient, and supercharged alternative to J2EE development.

"Trendy and cutting-edge are not synonymous," commented Big Nerd Ranch founder, Aaron Hillegass. "'Trendy' suggests an end-date in popularity. Django, on the other hand, with its meteoric rise in the web services community, shows no end date to its popularity. It boasts an ease of use, an intelligence in design, and a passionate and forward thinking community that is committed to excellence and furthering Django's usability. Django Bootcamp at the Big Nerd Ranch offers web services professionals the ideal learning environment to leverage this rapidly emerging technology to increase their projects' success."

The Django training class provides an exhaustive overview of this revolutionary framework, from fundamentals to helpful strategies in harnessing the full potential and power of Django. Key subject areas include, but are not limited to:

  • Installing Python, an introduction to Django, and database connectivity modules
  • Using the database API and creating the database interface and data models
  • Mastering the power of Django's template system to generate and update web pages dynamically
  • URLS like you've never seen them before
  • Utilizing models, views and forms to full advantage in your project
  • Start using the newforms library immediately
  • Users and authentication and generating emails and PDFs in response to user action
  • Integrating Django with XML and AJAX
  • Deploying your Django application on an Apache server using mod_python and FastCGI

To register for Django Bootcamp at the Big Nerd Ranch, please visit http://bignerdranch.com/register.php?cid=1027

No prior experience in Python is required (although it is helpful), but students should be familiar with object-oriented programming, HTML, and CSS. Those students seeking to minimize the learning curve prior to class are encouraged to read Mark Lutz's 'Learning Python.'

The Big Nerd Ranch incorporates intensive training classes for Unix and Mac OS X programmers and system administrators in a retreat setting outside Atlanta, GA. Class price of $3500 includes lodging, all meals, original instruction materials, 24-hour lab access, and ground transportation to and from the Atlanta airport. Students are encouraged to bring independent projects to class, allowing for input from classmates and individual instructor attention. For more information, call 678-595-6773 or visit http://bignerdranch.com/.

Source: PRWeb

Wednesday, June 13, 2007

Tell us what Java tutorial you want!

Here is your chance to tell us what Java tutorials you would like to see. Is there a specific task or topic that you would like to learn more about?

Post a comment below to let us know what Java topics you would like to see covered.

Tooltips for Individual Items in a JList

This tutorial shows how to display individual tooltips for items in a JList.

This tutorial will extend our previous tutorial of creating a font list box. In that tutorial, we showed how to create a new list cell renderer to display the font name in that font. One problem with this is the font name may not be readable which is common with symbol fonts. In this tutorial, we will show the actual font name for each item in the tooltip. Below is a screenshot of the tooltip showing for each item in the list box:



In order to display tooltips for individual items in a list box, we need to override the getToolTipText() method in JList.

    public String getToolTipText(MouseEvent event)
In this method, the first thing we need to determine is where the mouse pointer is located. Based on the mouse location, we can determine which item in the list box the mouse is over.
    //Get the mouse location
Point point = event.getPoint();

//Get the item in the list box at the mouse location
int index = this.locationToIndex(point);
Once we have determined the index of the list box item the mouse is over, we can get and return the value of the item from the JList model.
    //Get the value of the item in the list
return (String)this.getModel().getElementAt(index);
Below is the complete code for the list box. NOTE: The FontCellRender source code can be found here.
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;

public class FontListBox extends JList
{
public FontListBox()
{
//Construct a JList with the font names
super(GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames());

//Set the cell render
this.setCellRenderer(new FontCellRenderer());
}

public String getToolTipText(MouseEvent event)
{
//Get the mouse location
Point point = event.getPoint();

//Get the item in the list box at the mouse location
int index = this.locationToIndex(point);

//Get the value of the item in the list
return (String)this.getModel().getElementAt(index);
}
}

Sunday, June 10, 2007

Creating a Font List Box in Java

This tutorial shows how to use a custom cell renderer to create a font list box. Below is a screen shot of the font list box that we will create in this tutorial:



In a previous tutorial, we showed how to get the names of the available fonts on your computer. This list of font names will be used to populate the items in the list box:

   //Get the local graphics environment
GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment();

//Get the font names from the graphics environment
String[] fontNames = env.getAvailableFontFamilyNames();

//Create the JList with the font names
JList listBox = new JList(fontNames);
Next, the DefaultListCellRenderer will be extended to render the font names in that font. In the new class, we will override getListCellRendererComponent() method.

public Component getListCellRendererComponent(JList list,
Object value,
int index,
boolean isSelected,
boolean cellHasFocus)
In this method, we will get an instance of the default cell renderer for this item:

   //Get the default cell renderer
JLabel label = (JLabel) super.getListCellRendererComponent(list,
value,
index,
isSelected,
cellHasFocus);
Next, we will create a new font for the based on the value in the list box item:

   //Create a font based on the item value
Font itemFont = new Font((String) value, Font.PLAIN, 24);
Since not all characters are displayable with every font, we will need to check to see if the font is capable of displaying the font name. If the font name is displayable with the font, we will use that font for displaying the the font name. However, if the font is not capable of displaying the font name, we will use the standard, but larger font.
   if (itemFont.canDisplayUpTo((String) value) == -1)
{
//Set the font of the label
label.setFont(itemFont);
}
else
{
//Create a font based on the item value
Font largerFont = new Font(label.getFont().getFontName(), Font.PLAIN, 24);

//Set the font of the label
label.setFont(largerFont);
}
The final step for this method is to return the modified renderer:

   return label;
Below is the complete source for the FontCellRenderer class:

import javax.swing.*;
import java.awt.*;

public class FontCellRenderer extends DefaultListCellRenderer
{
public Component getListCellRendererComponent(JList list,
Object value,
int index,
boolean isSelected,
boolean cellHasFocus)
{
//Get the default cell renderer
JLabel label = (JLabel) super.getListCellRendererComponent(list,
value,
index,
isSelected,
cellHasFocus);

//Create a font based on the item value
Font itemFont = new Font((String) value, Font.PLAIN, 24);

if (itemFont.canDisplayUpTo((String) value) == -1)
{
//Set the font of the label
label.setFont(itemFont);
}
else
{
//Create a font based on the item value
Font largerFont = new Font(label.getFont().getFontName(), Font.PLAIN, 24);

//Set the font of the label
label.setFont(largerFont);
}

return label;
}
}
The final step is to set the renderer for the JList:

       listBox.setCellRenderer(new FontCellRenderer());

Thursday, June 7, 2007

New Software Tool Automatically Detects and Debugs C/C++ Software on the Sun x64 Platform With No Recompile

Dynamic Memory Solutions, (http://www.dynamic-memory.com) a leading developer of software testing and debugging tools for C and C++, is proud to announce the release of their newest and most advanced software debugging tool, Dynamic Leak Check for Solaris 10 x86.

Dynamic Leak Check for Solaris is a high speed memory leak and heap corruption detector. Dynamic Leak Check detects many difficult to diagnose software errors in C and C++. It is also the first such tool for the Sun x64 platform running Solaris 10 x86.

Richard Harper, Chief Operating Officer of Dynamic Memory Solutions states, "We are proud to announce the release of Dynamic Leak Check for Sun x64 servers running Solaris 10 x86. We are now in the unique position to support Solaris application development and testing across all Sun platforms with our uniquely fast and simple to use tools. As with the Solaris Sparc, HP-UX, and Linux versions, Dynamic Leak Check for Solaris 10 x86 does not require a recompile or relink of the software being tested. This saves companies doing software development countless hours and produces a rapid return on investment."

For more information on Dynamic Leak Check for Solaris 10 x86, and a 14-day free trial, please visit http://www.dynamic-memory.com/solaris.html or call (877)-293-4144.

About Dynamic Memory Solutions
Dynamic Memory Solutions is a leading developer of C/C++ software testing tools. Dynamic Memory Solutions leverages software technology to automate the laborious burden of software defect detection and debugging. This vastly improves software quality and control while reducing labor costs. All of Dynamic Memory Solutions' software testing and debugging tools come with a free 14-day trial. For more information, please visit http://www.dynamic-memory.com or call (877) 293-4144.

Source: PRWeb

PHPRunner 4.0: Build Web Databases With Ease of Drag-n-Drop

XlineSoft has released PHPRunner 4.0 - an easy to use solution that web-enables most popular databases. The new version introduces charting and reporting capabilities improving data visualization as well as a WYSIWYG visual development environment.

PHPRunner builds visually appealing web interfaces for any database on the Web. Designed to suit all users from beginners to experienced developers, it creates web applications to access and modify Oracle, SQL Server, MS Access, MySQL, and Postgre databases.

With this latest release XlineSoft took the next step in improving web data management and visualization. The new version of PHPRunner 4.0 has been enhanced with an extensive list of graphical and reporting capabilities allowing companies to create a Business Intelligence (BI)-like environment to support more informed decision-making. The wide range of reports (outline, stepped, align, block, tabular layouts and others) will help companies generate aggregated views of data to keep the management informed about the state of their business.

A picture is worth a thousand words. PHPRunner's new color-rich graphic capabilities turn raw data into visually perceptive illustrations providing a synopsis of the "big picture" as well as the in-depth analysis. Dynamic, results-based charts (Line, pie, doughnut, horizontal/vertical bars, 3D and others) are now at companies' disposal and ready to be utilized.

Importantly, PHPRunner uses a wizard-like interface and a set of business templates, meaning the web developer does not have to write a single line of code. With the WYSIWYG ("What You See Is What You Get") visual editor, users can customize the appearance of web application with the ease of drag-n-drop. To implement business logic PHPRunner provides a wide-ranging set of Events. This feature will be especially handy for advanced users.

PHPRunner now includes AJAX capabilities . Website visitors will notice many helpful features - such as autosuggest, quick search lookups, detailed table previews and others - that significantly improve the user's experience.

PHPRunner saves money by considerably reducing the time for converting databases to a web application and eliminates the need to hire another employee or contractor to perform this task. The program is so easy to use that a fully-working application can be generated in just 15 minutes.

PHPRunner is distributed electronically over the Internet, and a free evaluation version is available at the manufacturer's website. The price of a single copy is US$299 Software resellers and volume buyers should inquire about special discounts. Educational discounts are also available. The evaluation version (21-day trial period) can be downloaded from http://www.xlinesoft.com/phprunner/download.htm

Source: PRWeb

Wednesday, June 6, 2007

Get the Available Font Names Using Java

This tutorial shows how to get the list of available fonts on your computer using Java.

The first step is to get an instance of the GraphicsEnvironment.

//Get the local graphics environment
GraphicsEnvironment ge;
ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
Next, you can get the list of font names from the instance of the GraphicsEnvironment.

//Get the font names from the graphics environment
String[] fontNames = ge.getAvailableFontFamilyNames();
Below is the complete example:

//Get the local graphics environment
GraphicsEnvironment ge;
ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
 
//Get the font names from the graphics environment
String[] fontNames = ge.getAvailableFontFamilyNames();
 
for (int index = 0; index < fontNames.length; index++)
{
System.out.println(fontNames[index]);
}

Tuesday, June 5, 2007

Creating Dynamic Icons in Java

This tutorial shows how to create a dynamic icon. A dynamic icon allows you to have flexibilty in your application by not needing to have hard coded images.

This tutorial will create a dynamic icon that shows a color swatch. You can use this color swatch icon in a JLabel, JButton, JMenuItem, or any other Swing control that uses Icons. Below is an example of using the dynamic color icon in a JMenuItem:



To start creating our dynamic color icon, we will create a new class called ColorIcon that implements the Icon interface.

    public class ColorIcon implements Icon
Next, we will create member variables to store the size of the icon and the color.

    private static int HEIGHT = 14;
private static int WIDTH = 14;
 
private Color color;
A constructor is added to take the color for the icon:

    public ColorIcon(Color color)
{
this.color = color;
}
The class needs to implement the getIconWidth() and the getIconHeight() methods:

    public int getIconHeight()
{
return HEIGHT;
}
 
public int getIconWidth()
{
return WIDTH;
}
The final method to implement is the paintIcon() method. This will allow you to provide any custom painting that you need in your icon. For this example, we will paint a color rectangle with a black border.
    public void paintIcon(Component c, Graphics g, int x, int y)
{
g.setColor(color);
g.fillRect(x, y, WIDTH, HEIGHT);
 
g.setColor(Color.black);
g.drawRect(x, y, WIDTH, HEIGHT);
}
Below is the complete code for the ColorIcon class:

import javax.swing.*;
import java.awt.*;
 
public class ColorIcon implements Icon
{
private static int HEIGHT = 14;
private static int WIDTH = 14;
 
private Color color;
 
public ColorIcon(Color color)
{
this.color = color;
}
 
public int getIconHeight()
{
return HEIGHT;
}
 
public int getIconWidth()
{
return WIDTH;
}
 
public void paintIcon(Component c, Graphics g, int x, int y)
{
g.setColor(color);
g.fillRect(x, y, WIDTH - 1, HEIGHT - 1);
 
g.setColor(Color.black);
g.drawRect(x, y, WIDTH - 1, HEIGHT - 1);
}
}


 
Below is an example of using the ColorIcon in a menu item:
    JMenuItem menuItem = new JMenuItem("Red", new ColorIcon(Color.red));

Monday, June 4, 2007

COEUM Software Announces MySQL Performance Health Check

Expanding the offerings of it's product and service portfolio, COEUM Software, a leading provider of database tuning and performance solutions, today announced the immediate availability of COEUM Performance Health Check for MySQL.

"The world of customer centric computing today has rapidly moved to a non stop, 7 X Forever endeavor. As the world economy continues to integrate, successful customer centric companies are looking for product and service solutions that provide maximum scalability and reliability for their customer facing mission critical applications. In support of this, we believe it is critically important to provide knowledge and best practice services in support of the most demanding scaled-out database environments" said Dale Royal CEO of COEUM Software.

"Every MySQL database, whether it be Open Source or Enterprise Edition, needs constant maintenance to ensure it will continue to run healthily and meet the changing needs of a business. This essential performance assessment service addresses the fundamentals of availability, manageability and affordability for the non-stop world," stated Alan Bitterman, CTO of COEUM Software.

Available for MySQL Open Source implementations as well as MySQL Enterprise versions, COEUM Performance Health Check provides a consistent disciplined methodology of analysis and assessment services designed to deliver optimum performance at an affordable rate. With entry level assessments starting at $500 USD, COEUM Performance Health Check can be scaled to meet the most demanding environments, thus ensuring peace of mind for the most mission critical applications of today and into the future.

About COEUM Software
COEUM software provides solutions that target and optimize database applications in the new world economy. It's advanced monitoring and tuning solution delivers the functional expertise of highly trained and experienced administrators in an automated fashion, thereby providing optimized application performance with out additional personnel expense burden. For more information on COEUM Software's product and service offering, please visit http://www.coeum.com/.

COEUM, COEUM Software, COEUM for MySQL are trademarks of COEUM Software. MySQL is a registered trademark of MySQL AB in the U.S. and in other countries. Other company and product names may be trademarks of the respective companies with which they are associated.

Source: PRWeb

Convert a PNG to a JPG in Java

This tutorial shows how to use the ImageIO API to convert a PNG to a JPG image in Java. The ImageIO API provides methods to read the source image and to write the image in the new file format.

To read the image, simply provide the ImageIO.read() method a File object for the source image. This will return a BufferedImage.

//Create file for the source
File input = new File("c:/temp/image.png");

//Read the file to a BufferedImage
BufferedImage image = ImageIO.read(input);

Once you have the BufferedImage, you can write the image as a JPG. You will need to create a File object for the destination image. When calling the write() method, specify the type string as "jpg".

//Create a file for the output
File output = new File("c:/temp/image.jpg");
 
//Write the image to the destination as a JPG
ImageIO.write(image, "jpg", output);

Convert a GIF to a JPG in Java

This tutorial shows how to use the ImageIO API to convert a GIF to a JPG image in Java. The ImageIO API provides methods to read the source image and to write the image in the new file format.

To read the image, simply provide the ImageIO.read() method a File object for the source image. This will return a BufferedImage.

//Create file for the source
File input = new File("c:/temp/image.gif");

//Read the file to a BufferedImage
BufferedImage image = ImageIO.read(input);

Once you have the BufferedImage, you can write the image as a JPG. You will need to create a File object for the destination image. When calling the write() method, specify the type string as "jpg".

//Create a file for the output
File output = new File("c:/temp/image.jpg");
 
//Write the image to the destination as a JPG
ImageIO.write(image, "jpg", output);

Sunday, June 3, 2007

Convert a GIF to a PNG in Java

This tutorial shows how to use the ImageIO API to convert a GIF to a PNG image in Java. The ImageIO API provides methods to read the source image and to write the image in the new file format.

To read the image, simply provide the ImageIO.read() method a File object for the source image. This will return a BufferedImage.

//Create file for the source
File input = new File("c:/temp/image.gif");

//Read the file to a BufferedImage
BufferedImage image = ImageIO.read(input);

Once you have the BufferedImage, you can write the image as a PNG. You will need to create a File object for the destination image. When calling the write() method, specify the type string as "png".

//Create a file for the output
File output = new File("c:/temp/image.png");
 
//Write the image to the destination as a PNG
ImageIO.write(image, "png", output);

Active Up release ActiveUp.RTF V3

Active Up today released the latest version of their RTF and HTML converter control for .NET, Active RTF, ActiveUp.RTF V3.

ActiveUp.RTF enables any developer to convert documents from HTML to RTF and RTF to HTML or XHTML. It's easy to create customizable HTML templates using merge fields, and then convert the resulting document to its RTF version for later delivery. Producing easily editable invoices or any other documents on any computer has never been easier! RTF format is fully supported by 100% of the Windows based operating systems and widely used on the alternatives

What's new?

  • Code was ported from C++.NET to 100% managed C#.
  • Page break support in the RTF to HTML converter.
  • Full featured sample application.
  • Striketrought conversion support for RTF to HTML converter.
  • Documentation improvements.
  • Possibility to choose installation directory.

Pricing and Availability
A fully functional 30-day evaluation copy is available from http://www.activeup.com

ActiveUp.RTF is priced at $299 per single developer license.

ABOUT Active Up SPRL
Active Up SPRL is a rapidly growing software company based in Belgium. Founded in 2000, Active Up SPRL provides high-quality products for both ASP.NET and Windows Application developers. Active Up has many years experience in the development of Internet applications of all types. This experience has allowed us to push back the boundaries ever further, and it is with this aim in mind that Active Up is developing a whole range of products for creating Web applications.

All rights reserved. Active Up SPRL, the Active Up SPRL logo and ActiveUp.MailSystem is a registered trademarks of Active Up SPRL. All other products, logos, or brand names are service marks, trademarks, or registered trademarks, and are the property of their respective owners.

Saturday, June 2, 2007

Convert a JPG to a PNG in Java

This tutorial shows how to use the ImageIO API to convert a JPG to a PNG image in Java. The ImageIO API provides methods to read the source image and to write the image in the new file format.

To read the image, simply provide the ImageIO.read() method a File object for the source image. This will return a BufferedImage.

//Create file for the source
File input = new File("c:/temp/image.jpg");

//Read the file to a BufferedImage
BufferedImage image = ImageIO.read(input);

Once you have the BufferedImage, you can write the image as a PNG. You will need to create a File object for the destination image. When calling the write() method, specify the type string as "png".

//Create a file for the output
File output = new File("c:/temp/image.png");
 
//Write the image to the destination as a PNG
ImageIO.write(image, "png", output);

Friday, June 1, 2007

Adding File Filters to the JFileChooser Dialog

When using the JFileChooser dialog to open files, you will usually want to give the user a list of filters to make finding a file of a specific type easier. When using the JFileChooser to dialog to save files, you will usually want to give the user a list of types that they can save the file as. This tutorial will show how to do this. This tutorial will show how to create a file filter to only show text files and a file filter that shows only files that are less than a month old.

Creating a Text File Filter
The first step in creating a text file filter is to create a new class that extends the abstract class FileFilter. You will need to implement the accept() method and the getDescription() method.

The accept() method sends you a File object for each file in the directory. Since there could be a large number of files in a directory, you should keep this method simple and fast. For our text file filter example, we will simply check to see if the file name ends with a ".txt" extentions.

    public boolean accept(File file)
{
//Convert to lower case before checking extension
return file.getName().toLowerCase().endsWith(".txt");
}
The getDescription() method will be the text that is displayed in the File Types combo box.
    public String getDescription()
{
return "Text File (*.txt)";
}
Below is the complete implementation of the TextFileFilter class.
  public class TextFileFilter extends javax.swing.filechooser.FileFilter
{
public boolean accept(File file)
{
//Convert to lower case before checking extension
return file.getName().toLowerCase().endsWith(".txt");
}
 
public String getDescription()
{
return "Text File (*.txt)";
}
}

To use the TextFileFilter in your JFileChooser, use the addChoosableFileFilter() method as shown below:

  fileChooser.addChoosableFileFilter(new TextFileFilter());
Creating a Date File Filter
Now that we have created a basic file filter, we are going to create a file filter that shows only the files that have been modified this month. To do so, we are going to compare the current month and year with the month and year of the file.

Below is the complete class for the DateFileFilter class:
  public class DateFileFilter extends javax.swing.filechooser.FileFilter
{
public boolean accept(File file)
{
//Get today's date
GregorianCalendar date = new GregorianCalendar();

//Get the date the file was modifed
GregorianCalendar fileDate = new GregorianCalendar();
fileDate.setTimeInMillis(file.lastModified());

//Compare the current month and year
//with the month and yearthe file was
//last modified

return ((date.get(GregorianCalendar.MONTH) == fileDate.get(GregorianCalendar.MONTH)) &&
(date.get(GregorianCalendar.YEAR) == fileDate.get(GregorianCalendar.YEAR)));
}

public String getDescription()
{
return "Modified This Month";
}
}

Online HTML Editor eWebEditor Version 4.80 for Web Developers Now Available

eWebSoft, Inc., creator of eWebEditor, an advanced Web-based WYSIWYG online HTML editor for Web developers, announces that eWebEditor Version 4.80 is now available.

eWebEditor is an editing tool with an easy-to-use interface that allows end users to create and publish Web content without relying on client-side components or controls. A browser-based WYSIWYG, eWebEditor is an efficient tool for Web developers creating content-management applications, forums and newsletters. The eWebEditor allows developers to create buttons, toolbar items and Windows-like dialogs that encapsulate customized code. All data is visible in either WYSIWYG form or as HTML tags. For the end-user, all standard HTML capability is available, including table editing, image manipulation, color selection and text formatting.

eWebEditor version 4.80 brings Web developers a more advanced interface for the creation and development of Web content.

eWebEditor Version 4.80 has improved advanced host file review and share bank function buttons, which are designed to take full advantage of existing and shared files, including images library, flash library, multi-media library and enclosure library. Version 4.80 also has an improved interface effect, including a folder directory tree, four file types and multiple review modes. File review modes include detailed material mode, list mode, icon mode and thumbnail mode. Files can be ranged by name, type, file size and the time of modification.

Other features of the eWebEditor Version 4.80 online HTML editor include:

  • support in 11 additional languages: Danish, Dutch, French, German, Italian, Japanese, Norwegian, Portuguese, Russian, Spanish and Swedish.
  • the ability to optimize font size, name and color by style, as well as employ SPAN tab, which is in compliance with standard instead of FONT tab.
  • the ability to optimize a multiple-language interface, improving the look of the dialog interface.
  • an ASP Version that solves the repetition problem that may occur when there is large content.

More information about eWebEditor and eWebEditor Version 4.80 can be found online at http://www.ewebeditor.com/.

Source: PRWeb

New Version of Elegant Ribbon for .NET Developers Released

FOSS Software, an industry leader in developing GUI components for Windows applications, announced the release of Elegant Ribbon v.1.2, a set of .NET Windows Forms controls that allow C# and VB.NET developers to quickly and easily provide their applications with a new-generation user interface like that introduced in Microsoft Office 2007.

The new version introduces three major features: Quick Access Toolbar, KeyTips and the ability to use even more controls both on the ribbon and on the form. All the implemented features are fully compliant with the 2007 Microsoft Office System User Interface Design Guidelines.

You can learn about how to use the new features from the following two articles: Working with Quick Access Toolbar and Keyboard Navigation with KeyTips. A new sample called Elegant Controls demonstrates how you can use context-sensitive controls on the form.

The most powerful feature of Elegant Ribbon is true WYSIWYG support, which allows the developer to do almost all the work using the Visual Studio 2005 designer.

You can download a free, fully-functional evaluation version right now.

FOSS Software has been successfully developing and offering software solutions and GUI libraries since 2000.

Source: PRWeb