Thursday 13 September 2012

INTRODUCTION TO NETBEAN IDE


Introduction to NetBean

Hi ! we are going to see the swing on the bases of netbean IDE so that you need to know the environment of the netbean IDE . That why i am going to tel l you how to interact with netbean if you are new to the this IDE


Getting Started

Following is the part of the IDE enviroment that you need to know

Part 1 - Projects

As we see, the project name appears in the upper and bold, to
the branches from the tree of sub folders, which grouped the codes
source classes along with their respective links to their graphical interfaces (in
if they have any), used bookstores, and some others that the level of this tutorial,
yet are not important.In the first one (Source Package) is basically everything we develop,from simpler kinds of code just to complex GUIs A right click on this folder source henceforth allow the creation new classes, either graphic or not.

Part  2 - Form

This is the area that will display all the work we do in the design process
our interface. In the upper part of it, is a flange which indicates the name of the class and a small graphical X to close the classes  no need.In the button bar located in this area are:
  


Source: 

Activates the editing of code, which can be accessed directly
the java programming language pure and will allow code insertion
non personalized automatically generated by netbeans.
Design: 
Enables graphic design view of the form (this option is active
default)
Selection Mode
This is the tool that allows you to select and manipulate
            objects.
Test Form: 
A preview of the GUI.



Part  3 - Inspector: 

This zone operates as a tree, the browser is
objects in our GUI, meaning that there is a list
hierarchy of all components placed on the form, and from there
control the order of these, their names and the right click on each
object, you can modify the properties that each possesses.

Part 4 - Palette

Here is the graphical components with Swing and AWT libraries of
Java. Just click on the desired object and then click on the workspace
the interface will be designing and adding components.

Zone 5 - Properties

Perhaps this is the most important area of the graphical programming environment of this IDE. It contains special properties and attributes that each graphical component. In any component interface, from external and Swear to the simplest as a JSeparator has certain properties and behavior to events that allow high design customization objects placed in the work area 




Tuesday 28 August 2012

Introduction to Swing

Welcome to my blog  ! You are probably thinking what Swing is, and how you can use it to make up your Java applications. Or perhaps you're curious as to how the Swing components fit into the overall Java strategy. Then again, maybe you just want to see what all the hype is about. Well, you've come to the right place; this blog  is all about Swing and its components. First We are going to learn what is swing is :

What is Swing ?

If you search  around the Java home page  http://java.sun.com  you will find Swing show as a set of customized graphical components whose look-and-feel can be state at runtime, but in reality, however, Swing is much more than this. Swing is the next-generation GUI toolkit that Sun Microsystems is developing to enable enterprise development in Java. By enterprise development, we mean that programmers can use Swing to create large-scale Java applications with a wide array of powerful components. In addition, you can easily extend or modify these components to control their appearance and behavior. Swing is not an short form. The name represents the collaborative choice of its designers when the project was kicked off in late 1996. Swing is part of a huge family of Java products known  as the Java Foundation Classes ( JFC), which incorporate many of the features of Netscape's  Internet Foundation Classes (IFC), as well as design aspects from IBM's Taligent division and  Lighthouse Design. Swing has been in active development since the beta period of the Java Development Kit (JDK)1.1, circa spring of 1997. The Swing APIs entered beta in the latter half of  1997 and their initial release was in March of 1998. When released, the Swing 1.0 libraries
contained nearly 250 classes and 80 interfaces.
The Java Foundation Classes (JFC) are a suite of libraries designed to assist programmers in  creating enterprise applications with Java. The Swing API is only one of five libraries that make up the JFC. The Java Foundation Classes also consist of the
 Abstract Window Toolkit (AWT),
2        theAccessibility API,
3      the 2D API,
enhanced support for drag-and-drop capabilities

Number of Visit