| About Focus on Java |
| Put this feed on your website |
| Description: |
Focus on Java |
| Format: |
RSS 0.91 |
| Url: |
http://z.about.com/6/g/java/b/index.xml |
| |
| Latest headlines |
About Focus on Java
|
Using the CardLayout
Tue, 31 Jan 2012 22:37:00 +0200
I've had a couple of questions recently on the CardLayout layout manager
so it seems a good time to have a look at how the CardLayout
can be used. It's perfect if you want to create an application that
works like a set of tabs. You can place a number of components into a few
different JPanels and then switch between those panels using the CardLayout
layout manager. If you want to see it in action then have a look at the CardLayout
example program.
Related Articles:
Using
the GridBagLayout
GridBagLayout
Example Program
Working
with the GridLayout
GridLayout
Example Program
Using
the BoxLayout
|
Murach's Java Programming (4th Edition) Book Review
Tue, 31 Jan 2012 22:25:00 +0200
If you're looking for a Java programming book that does a good job of
getting you programming Java code quickly then you might be interested in
the latest edition of Murach's Java Programming. It's aimed at complete
beginners and programmers who are coming from another programming language
who want to get up to speed with Java.
Have a read of the book
review to see if it sounds like the right book for you.
Murach's Java Programming (4th Edition) Book Review originally appeared on About.com Focus on Java on Tuesday, January 31st, 2012 at 22:25:20.Permalink | Comment | Email this
|
Readers' Choice Awards 2012
Thu, 19 Jan 2012 03:51:00 +0200
The 2012 About.com Readers' Choice Awards will showcase the best products, features and services in dozens of categories. Readers' Choice includes multiple channels ranging from technology to hobbies to parenting. In the computing channel there are several topics to choose from:
Web
Browsers Awards
PC
Hardware / Reviews Awards
Email
Awards
Google
Awards
Instant
Messaging Awards
Macs
Awards
Web
Design / HTML Awards
Nominations will be accepted starting Jan. 18, 2012. Voting will
take place from Feb. 22 through March 21 with winners announced March
30. There's no prize -- just the bragging rights that come with
getting recognized by the readers of one of the most popular websites.
To learn more, visit the Readers'
Choice Awards 2012 website.
If you want more details, check out the awards
FAQ.Readers' Choice Awards 2012 originally appeared on About.com Focus on Java on Thursday, January 19th, 2012 at 03:51:03.Permalink | Comment | Email this
|
NetBeans 7.1 Released
Fri, 06 Jan 2012 03:44:00 +0200
NetBeans
7.1 has been released and if you look at the release
notes and release
overview you'll see it supports the creation of JavaFX 2.0
applications.
Amongst other updates it also includes enhancements to the Swing GUI
Builder and visual debugging of Swing and JavaFX interfaces.
The NetBeans 7.1 IDE is available for download at the NetBeans
website.
NetBeans 7.1 Released originally appeared on About.com Focus on Java on Friday, January 6th, 2012 at 03:44:16.Permalink | Comment | Email this
|
GUI Saturday: Using the FlowLayout
Sat, 31 Dec 2011 20:37:00 +0200
The FlowLayout layout manager is probably the simplest way to place
components (e.g., buttons, text fields) into a container (e.g., JPanel,
JFrame). All it does is put the components into a row and if that row
reaches the edge of the container it starts another row.
To find out more about the FlowLayout have a look at Using
the FlowLayout or have a play with the FlowLayout
example program and the GoingWithTheFlow
example program.
Related Articles:
An
Overview of Layout Managers
Using
the BorderLayout
BorderLayout
Example Program
GridLayout
Example Program
Other Articles:
Sun
Certified Enterprise Architect for Java EE Study Guide (2nd Ed.) Book
Review GUI Saturday: Using the FlowLayout originally appeared on About.com Focus on Java on Saturday, December 31st, 2011 at 20:37:35.Permalink | Comment | Email this
|
JavaFX 2.02 Released
Thu, 15 Dec 2011 22:42:00 +0200
If you're upgrading to Java 7 Update 2 then it's now easier to get the
latest version of JavaFX as it comes with the Java 7 Update 2 release.
For those using Java 6 Update 26 to Java 7 Update 1 the standalone JavaFX 2.02 SDK or just the JavaFX Runtime is available to download separately.
Looking at the release
notes, JavaFX 2.02 has a number of bug fixes as well including:
Interoperability with the Standard Widget Toolkit (SWT).
A new scroll event for handling scrolling on two axes.
A change of license to allow third party developers to redistribute the JavaFX Runtime with their applications.
An update for the Javadoc tool for generating JavaFX API documentation in HTML.
JavaFX 2.02 Released originally appeared on About.com Focus on Java on Thursday, December 15th, 2011 at 22:42:51.Permalink | Comment | Email this
|
Java 7 Update 2 Released
Thu, 15 Dec 2011 22:41:00 +0200
Java 7 Update 2 has been released and is available to download from Oracle's download page.
If you look at the release notes you'll see the JDK includes the JavaFX SDK, with the JavaFX Runtime now installed with the JRE. There are also a number of improvements for web-deployed applications and a few bug fixes.Java 7 Update 2 Released originally appeared on About.com Focus on Java on Thursday, December 15th, 2011 at 22:41:07.Permalink | Comment | Email this
|
Java 6 Update 30 Released
Thu, 15 Dec 2011 22:37:00 +0200
The JDK for Java 6 Update 30 is available to download from Oracle's Java download page. The release notes show this release includes several bug fixes.
There is a special mention of a fix to a bug introduced in Java 6 Update 29 that caused problems with creating secure connections. Hopefully those of you who were experiencing problems with that release will find them resolved by upgrading to this release.Java 6 Update 30 Released originally appeared on About.com Focus on Java on Thursday, December 15th, 2011 at 22:37:11.Permalink | Comment | Email this
|
Using the Switch Statement
Wed, 30 Nov 2011 22:44:00 +0200
Now that JDK 7 has brought Strings to the switch statement it seems like a good time to have have a refresher of control flow statements. Here's a link to using switch statements when you have multiple options you want to choose from and some example code in the making decisions program.
Related Articles:
The if-then-else statement
Determinate Loops
Indeterminate Loops
Going Loopy Example Program
Using the Switch Statement originally appeared on About.com Focus on Java on Wednesday, November 30th, 2011 at 22:44:03.Permalink | Comment | Email this
|
Creating Dialog Boxes - Part II
Wed, 30 Nov 2011 22:32:00 +0200
Last month I posted a few links around creating dialog boxes. To carry on that theme I thought it might be useful to look at some of the standard dialog boxes that the Java API provides.
To save you the hassle of creating your own custom dialog box, the Java API provides the JFileChooser class for presenting a file dialog to the user and the JColorChooser class for showing a color chooser dialog.
Related Articles:
File Dialog Box Program
Color Chooser Program
JPasswordField Overview
JFileChooser Overview
Countries and Their Capitals Programming Exercise
Creating Dialog Boxes - Part II originally appeared on About.com Focus on Java on Wednesday, November 30th, 2011 at 22:32:41.Permalink | Comment | Email this
|