Results 1 to 2 of 2
  1. #1
    steel is offline Member
    Join Date
    Dec 2010
    Rep Power

    Default actions for buttons

    Please help to implement actions for buttons,
    in attachment - you can see JPEG file you can see table 3 buttons (Insert, Update, Delete)

    I want to implement following:
    1) when no checked at all - Update, Delete inactive, Insert - active
    2) when checked any cell 2 buttons - Update, Delete active (update and delete depend on checking), Insert - inactive
    3) only checking of one row is possible

    May be somebody was acrossed the same problem.

    DB: MySQL

    Scripts for table creation and insertion:
    CREATE TABLE attendance5 (
    'bool_val' boolean,
    'student_number' char(10) NOT NULL,
    'unit_number' char(6) NOT NULL,
    'attendance_date' date NOT NULL,
    'attended' char(1) NOT NULL)

    INSERT INTO attendance VALUES
    Attached Thumbnails Attached Thumbnails actions for buttons-table.jpg  

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

Similar Threads

  1. How to Use Actions
    By in forum New To Java
    Replies: 6
    Last Post: 01-02-2015, 01:52 PM
  2. JSP standard actions
    By subhashis_mohanty in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 11-27-2010, 08:35 AM
  3. JMenuItems and actions
    By Kligham in forum New To Java
    Replies: 5
    Last Post: 01-05-2010, 06:00 PM
  4. Help using Buttons/Actions with Drawings
    By Deathmonger in forum New To Java
    Replies: 0
    Last Post: 04-08-2008, 04:11 PM
  5. Actions
    By alley in forum AWT / Swing
    Replies: 2
    Last Post: 01-16-2008, 03:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts