Results 1 to 6 of 6

Thread: Java SWING Components - Table Models

  1. #1
    Join Date
    Apr 2010
    Posts
    79

    Java SWING Components - Table Models

    Swing offers many components, some of which have extended features , a usage of existing performance management events (those introduced by JDK 1.1 ) and appearance changed on the fly (a graphical interface employs the style of the Windows operating system or Motif or a new style specific to Java called Metal) . Can anybody know the Table Models of Java SWING Components ?

  2. #2
    Join Date
    Feb 2008
    Posts
    1,852

    Re: Java SWING Components - Table Models

    Components Swing form a new hierarchy parallel to that of the AWT . The ancestor this hierarchy is the component JComponent. Nearly all of these components are written in pure Java, they have no part except those native provide the interface with the system Operating JApplet , JDialog , JFrame , and JWindow . This allows components always have the same appearance regardless of the system on which the application runs.

  3. #3
    Join Date
    May 2008
    Posts
    2,297

    Re: Java SWING Components - Table Models

    The procedure to use a Swing component is identical to that components of the AWT library : create the component by calling its constructor, call component methods as necessary to customize and add container. Swing uses the same infrastructure qu'AWT class, which allows mixing Swing components and AWT in the same interface . However, Sun recommends to avoid mixing them because some may not be restored correctly.

  4. #4
    Join Date
    May 2008
    Posts
    2,389

    Re: Java SWING Components - Table Models

    There are Swing components for each equivalent of AWT components with manufacturers alike. Many manufacturers allow an argument an object of type Icon , which represents a small image generally stored Gif format. The manufacturer of an Icon object accepts as only parameter the name or URL a graphics file.

  5. #5
    Join Date
    Oct 2005
    Posts
    2,393

    Re: Java SWING Components - Table Models

    The model Swing performs an adaptation of MVC in which view and controller are combined in a single object called delegate. This adaptation relatively straightforward and can simplify the communication between view and controller. The model is illustrated by a button interface ButtonModel which is implemented by the class Default Button Model. This model schematically the internal state of a button and behaviors.

  6. #6
    Join Date
    Nov 2005
    Posts
    1,323

    Re: Java SWING Components - Table Models

    Many items that We come to evoke can be ignored when defining application Swing base . There has in fact several approaches to creating an application Swing :
    * Using components Swing a component AWT by adding some extra features that available in Swing , For exmple , the look and feel.
    * Making a more complex application that implements a MVC where a component plays the role of controller responsive actions to change the use data model , which in turn changes the view of others components .

Similar Threads

  1. Layout manager for Swing Components in JAVA
    By afidelino in forum Software Development
    Replies: 3
    Last Post: 30-01-2011, 04:28 AM
  2. Applets V/s Swing in JAVA
    By "Dritan" in forum Software Development
    Replies: 3
    Last Post: 14-12-2010, 09:04 AM
  3. How to use HTML in Swing Components?
    By Silent~Kid in forum Software Development
    Replies: 4
    Last Post: 12-02-2010, 03:55 AM
  4. Print in java using Swing
    By Sheenas in forum Software Development
    Replies: 3
    Last Post: 18-11-2009, 09:50 AM
  5. drawPolygon in java Swing?
    By JagdishP in forum Software Development
    Replies: 3
    Last Post: 07-08-2009, 11:33 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,030,124.84135 seconds with 17 queries