How do add a checkbox to items in a JList?

import java.awt.Component;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;

import javax.swing.JCheckBox;
import javax.swing.JFrame;
import javax.swing.JList;
import javax.swing.JScrollPane;
import javax.swing.ListCellRenderer;
import javax.swing.ListSelectionModel;

public class CheckListExample
{
   public static void main(String args[])
   {
      JFrame Jframe = new JFrame();
      Jframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

      // Create a list containing 
Read more

, ,

No Comments

Asterisk Dialplan Commands

Here is a list of all the commands that you can use in your Dialplan (extensions.conf). You can obtain your Asterisk””s list of available applications at the CLI by typing “show applications” and “show application “.

Notes:

* An … Read more

, , , , , ,

No Comments

Asterisk config extensions.conf

  • extensions.conf – This is your Dialplan

The configuration file “extensions.conf” contains the “dial plan” of Asterisk, the master plan of control or execution flow for all of its operations. It controls how incoming and outgoing calls are handled and … Read more

, , , , ,

No Comments

Asterisk perl agi


Asterisk::AGI perl module documentation

NAME
Asterisk::AGI - Simple Asterisk Gateway Interface Class

SYNOPSIS
use Asterisk::AGI;

$AGI = new Asterisk::AGI;

# pull AGI variables into %input

%input = $AGI->ReadParse();

# say the number 1984

$AGI->say_number(1984);

DESCRIPTION
This module should make 
Read more

, , ,

No Comments