sasa java Blog Posts

  • Java Game AladdinHave an adventure with Aladdin and his Princess Jasmin, with the helpof Genie.... Game based on the legendary Disney movie of the same name.Download Java Game Aladdin...
  • Border Layout
    on Jul 8, 2010 in border swings
    BorderLayout divides the container into five Geographical regions namelyNorth,South,East,West and Center.This is very commonly used LyoutManager.You can add at most one component to each region of a BorderLayout.To put more than one component in a se...
  • JButton
    on Jul 8, 2010 in swings jbutton
    JButtonJbutton is the standrad command button used in Java.It is mainly used for event driven programming.A JButton when clicked fires an event which is handled by an event handler which in response do some work as indicated in hadler.On click the JB...
  • How to use Swing Scroll Panes
    on Jul 8, 2010 in swings
    A Scroll Pane is a component like JFrame or JPanel which is used to add other components but Scroll Pane has a Scroll Bar Associated with it which is a unique characteristic of this component Container.Scroll Panes are implemented in swing by JScroll...
  • JTextField
    on Jul 8, 2010 in jtext swings
    JTextFieldA text field is a basic text control that enables the user to type a small amount of text.The text field is editable. It is handy in cases where a single line of input is required or a little information is neede.It is mostly used in f...
  • Loading Image on JFrame using JFileChooser
    on Jul 8, 2010 in util swings
    JFileChooser is a very handy utility in java Swings to choose any particular file of an extension.Sometimes in our applications we need to load images onto our main container .In java we can use either JFrame or JPanel to load images.Statically...
  • The " ? " Operator
    on Jul 8, 2010 in OPERATOR
    Java includes a special Three-way(Ternary) operator that can replace certain types of if-then-else statements.These statements include assignment when certain conditions are fulfilled.This operator is " ? ".The working of " ? " operator is similar as...
  • How to create and use Check Boxes
    on Jul 8, 2010 in swings
    CheckBox is a unique java control which lets user select one or more options.This control becomes handy where some sort of selection is to be made.I will explain here the CheckBoxes In Java Swings.Which are created using JCheckBox class.Constructors:...
  • Grid Bag Layout
    on Jul 8, 2010 in swings grid
    The GridBag Layout manager is the most flexible and complex layout manager that the AWT provides. It places components in rows and columns allowing specific components by assigning weights to individual components in the gridbag layout.When you speci...
  • How to Set Icons on Swing Buttons
    on Jul 8, 2010 in swings
    Swing Buttons provides many exclusive features that are not found in the Button class defined in the AWT package.Swing Buttons are the subclass of AbstractButton class,which extends JComponent.You can always associate an icon of your choice with a Sw...
  • New Showcase for the jqGrid feature in Struts2 jQuery Plugin is availableSince today the new Showcase is available. The new Showcase is specially for the jqGridbased Grid Feature.The Showcase is provided with the Full Hibernate Plugin for Struts2 and shows how easy it is to create a AJAX based pag...
  • Menus In Java Swings
    on Jul 8, 2010 in swings
    Every window can have a menu associated with it.Menu Bars basic function is to provide a list of choices.Each choice has its own drop-down menu(is provided otherwise none).This is implemented in Java by using following classes:-MenuBarMenuMenuItemChe...
  • Using JTextField and JTextArea
    on Jul 8, 2010 in swings
    TextFields are used to take input from user also it can be used to display results.The various constructors and methods are defined in the previous JTextField tutorials.Values from a TextField is extracted using String getText() and set usi...
  • How to create MenuBar Steps
    on Jul 8, 2010 in swings
    How to create Menu and MenuBars Step wise procedure1.Create an object of MenuBar class:MenuBar can be attached a Frame and it will be displayed just below the title bar.MenuBar mb=new MenuBar();2.Call the method&nbs...
  • Struts2 jQuery Plugin Version 2.0.0 is now availableThe new version 2.0.0 of Struts2 jQuery Plugin is released and brings many Enhancements, like new jQuery UI Widgets, support for Form Validation and Bug Fixes to you. The Plugin is now based on the latest versions of JavaScri...
  • Setting ToolTip and Icon
    on Jul 8, 2010 in swings
    Adding Icons and ToolTipsTooltips are shot information messages which are displayed when your mouse pointer rests at some components.That is if suppose your mose pointer is at a button whose tooltiop is set as "click here" the if your pointer comes o...
  • Setting Mnemonics and Shortcut Keys
    on Jul 8, 2010 in swings
    Setting a Shrotcut Key(Mnemonic)A shortcut key is an underlined character you may in labels,buttons,menus etc.These are called as mnemonics.You can select a control by pressing the combination of Alt key and the character.For example if underlined ch...
  • How to Use CheckBoxGroup
    on Jul 8, 2010 in swings
    CheckboxGroup class is used to group togather the Checkboxes,from which only one can be selected at a time.That is exactly one Checkbox in that goup will be "on" else remain "false".By clicking on Checkbox we may "on" or "off" the desired Checkbox.Th...
  • Adding Border in Swing Application componenets
    on Jul 8, 2010 in swings
    The Border class is in javax.swing.border package.Make sure you have imported the package before using borders in your application.You can add borders to components by using setBorder() method.This me...
  • Java Mass JPEG Resizer Tool in neuer Version und neuer Homepage
    on Jul 8, 2010 in version jmjrst slideshow jpeg resize
    Soeben ist das Java Mass JPEG Resizer Tool in einer neuen Version 1.0 erschienen, in der es hauptsächlich Aktualisierungen an den Templates für Web Galerien gibt.Zudem ist seit einigen Tagen auch eine neue Homepage für das Projekt erstel...
Close