!
!
!   generated by makejapif90   DO NOT EDIT
!
!   !
!
MODULE JAPI
IMPLICIT NONE





!      BOOLEAN
INTEGER,PUBLIC,PARAMETER  :: J_TRUE              =    1
INTEGER,PUBLIC,PARAMETER  :: J_FALSE             =    0



!      ALIGNMENT
INTEGER,PUBLIC,PARAMETER  :: J_LEFT              =    0
INTEGER,PUBLIC,PARAMETER  :: J_CENTER            =    1
INTEGER,PUBLIC,PARAMETER  :: J_RIGHT             =    2
INTEGER,PUBLIC,PARAMETER  :: J_TOP               =    3
INTEGER,PUBLIC,PARAMETER  :: J_BOTTOM            =    4
INTEGER,PUBLIC,PARAMETER  :: J_TOPLEFT           =    5
INTEGER,PUBLIC,PARAMETER  :: J_TOPRIGHT          =    6
INTEGER,PUBLIC,PARAMETER  :: J_BOTTOMLEFT        =    7
INTEGER,PUBLIC,PARAMETER  :: J_BOTTOMRIGHT       =    8



!      CURSOR
INTEGER,PUBLIC,PARAMETER  :: J_DEFAULT_CURSOR    =    0
INTEGER,PUBLIC,PARAMETER  :: J_CROSSHAIR_CURSOR  =    1
INTEGER,PUBLIC,PARAMETER  :: J_TEXT_CURSOR       =    2
INTEGER,PUBLIC,PARAMETER  :: J_WAIT_CURSOR       =    3
INTEGER,PUBLIC,PARAMETER  :: J_SW_RESIZE_CURSOR  =    4
INTEGER,PUBLIC,PARAMETER  :: J_SE_RESIZE_CURSOR  =    5
INTEGER,PUBLIC,PARAMETER  :: J_NW_RESIZE_CURSOR  =    6
INTEGER,PUBLIC,PARAMETER  :: J_NE_RESIZE_CURSOR  =    7
INTEGER,PUBLIC,PARAMETER  :: J_N_RESIZE_CURSOR   =    8
INTEGER,PUBLIC,PARAMETER  :: J_S_RESIZE_CURSOR   =    9
INTEGER,PUBLIC,PARAMETER  :: J_W_RESIZE_CURSOR   =    10
INTEGER,PUBLIC,PARAMETER  :: J_E_RESIZE_CURSOR   =    11
INTEGER,PUBLIC,PARAMETER  :: J_HAND_CURSOR       =    12
INTEGER,PUBLIC,PARAMETER  :: J_MOVE_CURSOR       =    13



!      ORIENTATION
INTEGER,PUBLIC,PARAMETER  :: J_HORIZONTAL        =    0
INTEGER,PUBLIC,PARAMETER  :: J_VERTICAL          =    1



!      FONTS
INTEGER,PUBLIC,PARAMETER  :: J_PLAIN             =    0
INTEGER,PUBLIC,PARAMETER  :: J_BOLD              =    1
INTEGER,PUBLIC,PARAMETER  :: J_ITALIC            =    2
INTEGER,PUBLIC,PARAMETER  :: J_COURIER           =    1
INTEGER,PUBLIC,PARAMETER  :: J_HELVETIA          =    2
INTEGER,PUBLIC,PARAMETER  :: J_TIMES             =    3
INTEGER,PUBLIC,PARAMETER  :: J_DIALOGIN          =    4
INTEGER,PUBLIC,PARAMETER  :: J_DIALOGOUT         =    5



!      COLORS
INTEGER,PUBLIC,PARAMETER  :: J_BLACK             =    0
INTEGER,PUBLIC,PARAMETER  :: J_WHITE             =    1
INTEGER,PUBLIC,PARAMETER  :: J_RED               =    2
INTEGER,PUBLIC,PARAMETER  :: J_GREEN             =    3
INTEGER,PUBLIC,PARAMETER  :: J_BLUE              =    4
INTEGER,PUBLIC,PARAMETER  :: J_CYAN              =    5
INTEGER,PUBLIC,PARAMETER  :: J_MAGENTA           =    6
INTEGER,PUBLIC,PARAMETER  :: J_YELLOW            =    7
INTEGER,PUBLIC,PARAMETER  :: J_ORANGE            =    8
INTEGER,PUBLIC,PARAMETER  :: J_GREEN_YELLOW      =    9
INTEGER,PUBLIC,PARAMETER  :: J_GREEN_CYAN        =    10
INTEGER,PUBLIC,PARAMETER  :: J_BLUE_CYAN         =    11
INTEGER,PUBLIC,PARAMETER  :: J_BLUE_MAGENTA      =    12
INTEGER,PUBLIC,PARAMETER  :: J_RED_MAGENTA       =    13
INTEGER,PUBLIC,PARAMETER  :: J_DARK_GRAY         =    14
INTEGER,PUBLIC,PARAMETER  :: J_LIGHT_GRAY        =    15
INTEGER,PUBLIC,PARAMETER  :: J_GRAY              =    16



!      BORDERSTYLE
INTEGER,PUBLIC,PARAMETER  :: J_NONE              =    0
INTEGER,PUBLIC,PARAMETER  :: J_LINEDOWN          =    1
INTEGER,PUBLIC,PARAMETER  :: J_LINEUP            =    2
INTEGER,PUBLIC,PARAMETER  :: J_AREADOWN          =    3
INTEGER,PUBLIC,PARAMETER  :: J_AREAUP            =    4



!      MOUSELISTENER
INTEGER,PUBLIC,PARAMETER  :: J_MOVED             =    0
INTEGER,PUBLIC,PARAMETER  :: J_DRAGGED           =    1
INTEGER,PUBLIC,PARAMETER  :: J_PRESSED           =    2
INTEGER,PUBLIC,PARAMETER  :: J_RELEASED          =    3
INTEGER,PUBLIC,PARAMETER  :: J_ENTERERD          =    4
INTEGER,PUBLIC,PARAMETER  :: J_EXITED            =    5
INTEGER,PUBLIC,PARAMETER  :: J_DOUBLECLICK       =    6



!      COMPONENTLISTENER



!      J_MOVED
INTEGER,PUBLIC,PARAMETER  :: J_RESIZED           =    1
INTEGER,PUBLIC,PARAMETER  :: J_HIDDEN            =    2
INTEGER,PUBLIC,PARAMETER  :: J_SHOWN             =    3



!      WINDOWLISTENER
INTEGER,PUBLIC,PARAMETER  :: J_ACTIVATED         =    0
INTEGER,PUBLIC,PARAMETER  :: J_DEACTIVATED       =    1
INTEGER,PUBLIC,PARAMETER  :: J_OPENED            =    2
INTEGER,PUBLIC,PARAMETER  :: J_CLOSED            =    3
INTEGER,PUBLIC,PARAMETER  :: J_ICONIFIED         =    4
INTEGER,PUBLIC,PARAMETER  :: J_DEICONIFIED       =    5
INTEGER,PUBLIC,PARAMETER  :: J_CLOSING           =    6



!      IMAGEFILEFORMAT
INTEGER,PUBLIC,PARAMETER  :: J_GIF               =    0
INTEGER,PUBLIC,PARAMETER  :: J_JPG               =    1
INTEGER,PUBLIC,PARAMETER  :: J_PPM               =    2
INTEGER,PUBLIC,PARAMETER  :: J_BMP               =    3



!      LEDFORMAT
INTEGER,PUBLIC,PARAMETER  :: J_ROUND             =    0
INTEGER,PUBLIC,PARAMETER  :: J_RECT              =    1



!      RANDOMMAX
INTEGER,PUBLIC,PARAMETER  :: J_RANDMAX           =    2147483647




!        INTERFACE

LOGICAL,PUBLIC,EXTERNAL   :: j_start
LOGICAL,PUBLIC,EXTERNAL   :: j_connect
INTEGER,PUBLIC,EXTERNAL   :: j_frame
INTEGER,PUBLIC,EXTERNAL   :: j_button
INTEGER,PUBLIC,EXTERNAL   :: j_graphicbutton
INTEGER,PUBLIC,EXTERNAL   :: j_checkbox
INTEGER,PUBLIC,EXTERNAL   :: j_label
INTEGER,PUBLIC,EXTERNAL   :: j_graphiclabel
INTEGER,PUBLIC,EXTERNAL   :: j_canvas
INTEGER,PUBLIC,EXTERNAL   :: j_panel
INTEGER,PUBLIC,EXTERNAL   :: j_borderpanel
INTEGER,PUBLIC,EXTERNAL   :: j_radiogroup
INTEGER,PUBLIC,EXTERNAL   :: j_radiobutton
INTEGER,PUBLIC,EXTERNAL   :: j_list
INTEGER,PUBLIC,EXTERNAL   :: j_choice
INTEGER,PUBLIC,EXTERNAL   :: j_dialog
INTEGER,PUBLIC,EXTERNAL   :: j_window
INTEGER,PUBLIC,EXTERNAL   :: j_popupmenu
INTEGER,PUBLIC,EXTERNAL   :: j_scrollpane
INTEGER,PUBLIC,EXTERNAL   :: j_hscrollbar
INTEGER,PUBLIC,EXTERNAL   :: j_vscrollbar
INTEGER,PUBLIC,EXTERNAL   :: j_line
INTEGER,PUBLIC,EXTERNAL   :: j_printer
INTEGER,PUBLIC,EXTERNAL   :: j_image
INTEGER,PUBLIC,EXTERNAL   :: j_messagebox
INTEGER,PUBLIC,EXTERNAL   :: j_alertbox
INTEGER,PUBLIC,EXTERNAL   :: j_choicebox2
INTEGER,PUBLIC,EXTERNAL   :: j_choicebox3
INTEGER,PUBLIC,EXTERNAL   :: j_progressbar
INTEGER,PUBLIC,EXTERNAL   :: j_led
INTEGER,PUBLIC,EXTERNAL   :: j_sevensegment
INTEGER,PUBLIC,EXTERNAL   :: j_meter
INTEGER,PUBLIC,EXTERNAL   :: j_textfield
INTEGER,PUBLIC,EXTERNAL   :: j_textarea
INTEGER,PUBLIC,EXTERNAL   :: j_menubar
INTEGER,PUBLIC,EXTERNAL   :: j_menu
INTEGER,PUBLIC,EXTERNAL   :: j_helpmenu
INTEGER,PUBLIC,EXTERNAL   :: j_menuitem
INTEGER,PUBLIC,EXTERNAL   :: j_checkmenuitem
INTEGER,PUBLIC,EXTERNAL   :: j_sound
LOGICAL,PUBLIC,EXTERNAL   :: j_getstate
INTEGER,PUBLIC,EXTERNAL   :: j_getrows
INTEGER,PUBLIC,EXTERNAL   :: j_getcolumns
INTEGER,PUBLIC,EXTERNAL   :: j_getselect
LOGICAL,PUBLIC,EXTERNAL   :: j_isselect
LOGICAL,PUBLIC,EXTERNAL   :: j_isvisible
LOGICAL,PUBLIC,EXTERNAL   :: j_isparent
LOGICAL,PUBLIC,EXTERNAL   :: j_isresizable
INTEGER,PUBLIC,EXTERNAL   :: j_getlength
INTEGER,PUBLIC,EXTERNAL   :: j_getvalue
INTEGER,PUBLIC,EXTERNAL   :: j_getdanger
INTEGER,PUBLIC,EXTERNAL   :: j_getscreenheight
INTEGER,PUBLIC,EXTERNAL   :: j_getscreenwidth
INTEGER,PUBLIC,EXTERNAL   :: j_getheight
INTEGER,PUBLIC,EXTERNAL   :: j_getwidth
INTEGER,PUBLIC,EXTERNAL   :: j_getinsets
INTEGER,PUBLIC,EXTERNAL   :: j_getlayoutid
INTEGER,PUBLIC,EXTERNAL   :: j_getinheight
INTEGER,PUBLIC,EXTERNAL   :: j_getinwidth
INTEGER,PUBLIC,EXTERNAL   :: j_getitemcount
INTEGER,PUBLIC,EXTERNAL   :: j_getselstart
INTEGER,PUBLIC,EXTERNAL   :: j_getselend
INTEGER,PUBLIC,EXTERNAL   :: j_getcurpos
INTEGER,PUBLIC,EXTERNAL   :: j_getaction
INTEGER,PUBLIC,EXTERNAL   :: j_nextaction
INTEGER,PUBLIC,EXTERNAL   :: j_getviewportheight
INTEGER,PUBLIC,EXTERNAL   :: j_getviewportwidth
INTEGER,PUBLIC,EXTERNAL   :: j_getxpos
INTEGER,PUBLIC,EXTERNAL   :: j_getypos
INTEGER,PUBLIC,EXTERNAL   :: j_getparentid
LOGICAL,PUBLIC,EXTERNAL   :: j_hasfocus
INTEGER,PUBLIC,EXTERNAL   :: j_getstringwidth
INTEGER,PUBLIC,EXTERNAL   :: j_getfontheight
INTEGER,PUBLIC,EXTERNAL   :: j_getfontascent
INTEGER,PUBLIC,EXTERNAL   :: j_keylistener
INTEGER,PUBLIC,EXTERNAL   :: j_getkeycode
INTEGER,PUBLIC,EXTERNAL   :: j_getkeychar
INTEGER,PUBLIC,EXTERNAL   :: j_mouselistener
INTEGER,PUBLIC,EXTERNAL   :: j_getmousex
INTEGER,PUBLIC,EXTERNAL   :: j_getmousey
INTEGER,PUBLIC,EXTERNAL   :: j_getmousebutton
INTEGER,PUBLIC,EXTERNAL   :: j_focuslistener
INTEGER,PUBLIC,EXTERNAL   :: j_componentlistener
INTEGER,PUBLIC,EXTERNAL   :: j_windowlistener
INTEGER,PUBLIC,EXTERNAL   :: j_getimage
INTEGER,PUBLIC,EXTERNAL   :: j_getscaledimage
INTEGER,PUBLIC,EXTERNAL   :: j_loadimage
LOGICAL,PUBLIC,EXTERNAL   :: j_saveimage
INTEGER,PUBLIC,EXTERNAL   :: j_random

END MODULE JAPI

