jap
Class JAPNewView

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Frame
                  extended by javax.swing.JFrame
                      extended by jap.AbstractJAPMainView
                          extended by jap.JAPNewView
All Implemented Interfaces:
AnonServiceEventListener, IMessageListener, IProxyListener, IStatusLine, IJAPMainView, JAPObserver, java.awt.event.ActionListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, java.util.Observer, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants

public final class JAPNewView
extends AbstractJAPMainView
implements IJAPMainView, java.awt.event.ActionListener, JAPObserver, java.util.Observer, IMessageListener

See Also:
Serialized Form

Nested Class Summary
private  class JAPNewView.ComponentMovedAdapter
           
private  class JAPNewView.LawListener
           
private  class JAPNewView.MixMouseAdapter
           
 
Nested classes/interfaces inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame
 
Nested classes/interfaces inherited from class java.awt.Frame
java.awt.Frame.AccessibleAWTFrame
 
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
private  javax.swing.JLabel DEFAULT_LABEL
           
private static java.lang.String HLP_ANONYMETER
           
private static java.lang.String IMG_ABOUT
           
private static java.lang.String IMG_ICONIFY
           
private static java.lang.String IMG_METER
           
private static java.lang.String IMG_METER_CONNECTING
           
private static java.lang.String IMG_METER_DEACTIVATED
           
private static java.lang.String IMG_METER_NO_MEASURE
           
private  java.lang.Object LOCK_CONFIG
           
private  JAPNewView.MixMouseAdapter[] m_adapterOperator
           
private  boolean m_bActionPerformed
           
private  boolean m_bConfigActive
           
private  boolean m_bDisconnectedErrorShown
           
private  boolean m_bIgnoreAnonComboEvents
           
private  boolean m_bIsIconified
           
private  boolean m_bIsSimpleView
           
private  JobQueue m_blinkJobs
           
private  boolean m_bShowConnecting
           
private  javax.swing.JButton m_btnAbout
           
private  javax.swing.JButton m_btnAssistant
           
private  boolean m_bTrustChanged
           
private  javax.swing.JButton m_bttnAnonDetails
           
private  javax.swing.JButton m_bttnConf
           
private  javax.swing.JButton m_bttnHelp
           
private  javax.swing.JButton m_bttnIconify
           
private  javax.swing.JButton m_bttnQuit
           
private  javax.swing.JButton m_bttnReload
           
private  javax.swing.JLabel m_buttonDeleteMessage
           
private  boolean m_bWithPayment
           
private  javax.swing.JCheckBox m_cbAnonymityOn
           
private  javax.swing.JCheckBox m_cbForwarding
           
private  javax.swing.JCheckBox m_cbForwardingSmall
           
private  JobQueue m_channelsChangedJobs
           
private  JAPMixCascadeComboBox m_comboAnonServices
           
private  JAPNewView.ComponentMovedAdapter m_configMovedAdapter
           
private  java.lang.Object m_connectionEstablishedSync
           
private  int m_currentChannels
           
private  JAPConf m_dlgConfig
           
private  int m_enableInfoServiceID
           
private  javax.swing.JButton m_firefox
           
private  FlippingPanel m_flippingpanelAnon
           
private  javax.swing.JPanel m_flippingpanelForward
           
private  FlippingPanel m_flippingpanelOwnTraffic
           
private  PaymentMainPanel m_flippingPanelPayment
           
private  int m_ForwardingID
           
private  JAPNewView.ComponentMovedAdapter m_helpMovedAdapter
           
private  javax.swing.JLabel m_labelAnonMeter
           
private  javax.swing.JLabel m_labelAnonService
           
private  javax.swing.JLabel m_labelAnonymity
           
private  javax.swing.JLabel m_labelAnonymityHigh
           
private  javax.swing.JLabel m_labelAnonymityLow
           
private  javax.swing.JLabel m_labelAnonymityOnOff
           
private  javax.swing.JLabel m_labelAnonymitySmall
           
private  javax.swing.JLabel m_labelDelay
           
private  javax.swing.JLabel m_labelDelayLabel
           
private  javax.swing.JLabel m_labelForwardedTraffic
           
private  javax.swing.JLabel m_labelForwardedTrafficBytes
           
private  javax.swing.JLabel m_labelForwardedTrafficBytesUnit
           
private  javax.swing.JLabel m_labelForwarderAcceptedConnections
           
private  javax.swing.JLabel m_labelForwarderAcceptedConnectionsLabel
           
private  javax.swing.JLabel m_labelForwarderActivity
           
private  javax.swing.JLabel m_labelForwarderActivitySmall
           
private  javax.swing.JLabel m_labelForwarderConnections
           
private  javax.swing.JLabel m_labelForwarderCurrentConnections
           
private  javax.swing.JLabel m_labelForwarderCurrentConnectionsLabel
           
private  javax.swing.JLabel m_labelForwarderRejectedConnections
           
private  javax.swing.JLabel m_labelForwarderRejectedConnectionsLabel
           
private  javax.swing.JLabel m_labelForwarderUsedBandwidth
           
private  javax.swing.JLabel m_labelForwarderUsedBandwidthLabel
           
private  javax.swing.JLabel m_labelForwarding
           
private  javax.swing.JLabel m_labelForwardingError
           
private  javax.swing.JLabel m_labelForwardingErrorSmall
           
private  javax.swing.JLabel m_labelForwardingSmall
           
private  javax.swing.JLabel m_labelOperatorCountries
           
private  javax.swing.JLabel[] m_labelOperatorFlags
           
private  javax.swing.JLabel m_labelOwnActivity
           
private  javax.swing.JLabel m_labelOwnActivitySmall
           
private  javax.swing.JLabel m_labelOwnTraffic
           
private  javax.swing.JLabel m_labelOwnTrafficBytes
           
private  javax.swing.JLabel m_labelOwnTrafficBytesOther
           
private  javax.swing.JLabel m_labelOwnTrafficBytesSmall
           
private  javax.swing.JLabel m_labelOwnTrafficBytesWWW
           
private  javax.swing.JLabel m_labelOwnTrafficOther
           
private  javax.swing.JLabel m_labelOwnTrafficSmall
           
private  javax.swing.JLabel m_labelOwnTrafficUnit
           
private  javax.swing.JLabel m_labelOwnTrafficUnitOther
           
private  javax.swing.JLabel m_labelOwnTrafficUnitSmall
           
private  javax.swing.JLabel m_labelOwnTrafficUnitWWW
           
private  javax.swing.JLabel m_labelOwnTrafficWWW
           
private  javax.swing.JLabel m_labelSpeed
           
private  javax.swing.JLabel m_labelSpeedLabel
           
private  javax.swing.JLabel m_labelVersion
           
private  javax.swing.JLabel[] m_lawFlags
           
private  JAPNewView.LawListener m_lawListener
           
private  javax.swing.JLabel m_lblUsers
           
private  javax.swing.JLabel m_lblUsersLabel
           
private  java.awt.event.ActionListener m_listenerEnableIS
           
private  java.awt.event.ActionListener m_listenerNewServices
           
private  java.awt.event.ActionListener m_listenerUpdate
           
private  long m_lTrafficOther
           
private  long m_lTrafficWWW
           
private  JAPNewView.ComponentMovedAdapter m_mainMovedAdapter
           
private  java.util.Hashtable m_messageIDs
           
private  java.util.Hashtable m_messagesShown
           
private  JAPNewView.ComponentMovedAdapter m_miniMovedAdapter
           
private  java.awt.event.MouseListener m_mouseForwardError
           
private  int m_msgForwardServer
           
private  int m_msgForwardServerStatus
           
private  int m_msgIDInsecure
           
private  int m_newServicesID
           
private  JobQueue m_packetMixedJobs
           
private  javax.swing.JPanel m_panelAnonService
           
private  javax.swing.JPanel m_pnlVersion
           
private  JAPProgressBar m_progForwarderActivity
           
private  JAPProgressBar m_progForwarderActivitySmall
           
private  JAPProgressBar m_progressAnonLevel
           
private  JAPProgressBar m_progressDistribution
           
private  JAPProgressBar m_progressOwnTrafficActivity
           
private  JAPProgressBar m_progressOwnTrafficActivitySmall
           
private  javax.swing.JRadioButton m_rbAnonOff
           
private  javax.swing.JRadioButton m_rbAnonOn
           
private  StatusPanel m_StatusPanel
           
private  JobQueue m_transferedBytesJobs
           
private  int m_updateAvailableID
           
private  JAPViewIconified m_ViewIconified
           
private static java.lang.String MSG_ANONYMETER_TOOL_TIP
           
private static java.lang.String MSG_ANTI_CENSORSHIP
           
private static java.lang.String MSG_BTN_ASSISTANT
           
private static java.lang.String MSG_CONNECTED
           
private static java.lang.String MSG_DATA_RETENTION_EXPLAIN
           
private static java.lang.String MSG_DELETE_MESSAGE
           
private static java.lang.String MSG_DELETE_MESSAGE_EXPLAIN
           
private static java.lang.String MSG_DELETE_MESSAGE_SHORT
           
private static java.lang.String MSG_DISTRIBUTION
           
private static java.lang.String MSG_ERROR_DISCONNECTED
           
private static java.lang.String MSG_ERROR_PROXY
           
private static java.lang.String MSG_HIDE_MESSAGE_SHORT
           
private static java.lang.String MSG_IS_DEACTIVATED
           
private static java.lang.String MSG_IS_DISABLED_EXPLAIN
           
private static java.lang.String MSG_IS_EDIT_TRUST
           
private static java.lang.String MSG_IS_TOOLTIP
           
private static java.lang.String MSG_IS_TRUST_ALL
           
private static java.lang.String MSG_IS_TRUST_HIGH
           
private static java.lang.String MSG_IS_TRUST_PARANOID
           
private static java.lang.String MSG_IS_TRUST_SUSPICIOUS
           
private static java.lang.String MSG_JAVA_FORCED_EXPLAIN
           
private static java.lang.String MSG_JAVA_FORCED_OS
           
private static java.lang.String MSG_JAVA_FORCED_QUESTION
           
private static java.lang.String MSG_JAVA_FORCED_TITLE
           
private static java.lang.String MSG_LBL_ENCRYPTED_DATA
           
private static java.lang.String MSG_LBL_HTTP_DATA
           
private static java.lang.String MSG_LBL_NEW_SERVICES_FOUND
           
private static java.lang.String MSG_LBL_OTHER_DATA
           
private static java.lang.String MSG_MN_ASSISTANT
           
private static java.lang.String MSG_MN_DETAILS
           
private static java.lang.String MSG_NEW_SERVICES_FOUND_EXPLAIN
           
private static java.lang.String MSG_NO_COSTS
           
static java.lang.String MSG_NO_REAL_PAYMENT
           
private static java.lang.String MSG_OBSERVABLE_EXPLAIN
           
private static java.lang.String MSG_OBSERVABLE_TITLE
           
private static java.lang.String MSG_OLD_JAVA
           
private static java.lang.String MSG_OLD_JAVA_HINT
           
private static java.lang.String MSG_OPEN_FIREFOX
           
static java.lang.String MSG_SERVICE_NAME
           
private static java.lang.String MSG_TITLE_OLD_JAVA
           
private static java.lang.String MSG_TOOLTIP_NEW_SERVICES_FOUND
           
private static java.lang.String MSG_TRUST_FILTER
           
static java.lang.String MSG_UNKNOWN_PERFORMANCE
           
static java.lang.String MSG_UPDATE
           
private static java.lang.String MSG_USER_ACTIVITY
           
static java.lang.String MSG_USERS
           
private static java.lang.String MSG_VIEW_MESSAGE
           
private static java.lang.String MSG_WITH_COSTS
           
private static long serialVersionUID
          serial version UID
private  java.lang.Object SYNC_ACTION
           
private  java.lang.Object SYNC_DISCONNECTED_ERROR
           
private  java.lang.Object SYNC_FORWARD_MSG
           
private  java.lang.Object SYNC_ICONIFIED_VIEW
           
private  java.lang.Object SYNC_NEW_SERVICES
           
private  java.lang.Object SYNC_STATUS_ENABLE_IS
           
private  java.lang.Object SYNC_STATUS_UPDATE_AVAILABLE
           
 
Fields inherited from class jap.AbstractJAPMainView
m_Controller, m_Title
 
Fields inherited from class javax.swing.JFrame
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface anon.proxy.IProxyListener
PROTOCOL_OTHER, PROTOCOL_WWW
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
JAPNewView(java.lang.String s, JAPController a_controller)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
           
 int addStatusMsg(java.lang.String msg, int type, boolean bAutoRemove)
           
 int addStatusMsg(java.lang.String msg, int type, boolean bAutoRemove, java.awt.event.ActionListener a_listener)
           
private  void blink(long c)
          Shows a blinking JAP icon.
private  javax.swing.JPanel buildForwarderPanel()
           
 void channelsChanged(int c)
           
 void connecting(AnonServerDescription a_serverDescription)
           
 void connectionError()
           
 void connectionEstablished(AnonServerDescription a_serverDescription)
           
 void create(boolean loadPay)
           
 void dataChainErrorSignaled()
           
 void disableSetAnonMode()
          Used to disable activation on JAP Example: Activation of listener failed --> disable activation checkboxes
 void disconnected()
           
 void dispose()
           
 void doClickOnCascadeChooser()
           
private static boolean equals(MixCascade a_one, MixCascade a_two)
           
private  void fetchMixCascadesAsync(boolean bShowError)
           
 java.awt.Component getCurrentView()
           
private  javax.swing.Icon getMeterImage(MixCascade a_cascade, StatusInfo a_statusInfo)
          Anon Level is >=0 and <=5.
 java.awt.Dimension getPreferredSize()
           
 JAPViewIconified getViewIconified()
           
private  void init()
           
 void messageReceived(PayMessage completeMessage)
           
 void messageRemoved(PayMessage message)
           
 void onUpdateValues()
          Performs GUI update operations.
 void packetMixed(long a_totalBytes)
           
 void registerViewIconified(JAPViewIconified v)
           
 void removeStatusMsg(int id)
           
 void saveWindowPositions()
           
private  void setOptimalSize()
           
 void setVisible(boolean a_bVisible)
           
 void showConfigDialog(java.lang.String card, java.lang.Object a_value)
           
private  void showConnecting(boolean a_bOnError)
           
private  void showHelpWindow()
           
 void showIconifiedView()
           
private  void showJavaUpdateDialog(JavaVersionDBEntry a_entry)
           
 void transferedBytes(long c, int protocolType)
          Called if some bytes are transferred.
 void update(java.util.Observable a_observable, java.lang.Object a_message)
           
private  void updateFonts()
           
 
Methods inherited from class jap.AbstractJAPMainView
hideWindowInTaskbar, isChangingTitle, pack, setTitle, showConfigDialog, updateValues
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
 
Methods inherited from class java.awt.Frame
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jap.IJAPMainView
showConfigDialog
 
Methods inherited from interface jap.JAPObserver
updateValues
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

serialVersionUID

private static final long serialVersionUID
serial version UID

See Also:
Constant Field Values

MSG_UPDATE

public static final java.lang.String MSG_UPDATE

MSG_NO_REAL_PAYMENT

public static final java.lang.String MSG_NO_REAL_PAYMENT

MSG_UNKNOWN_PERFORMANCE

public static final java.lang.String MSG_UNKNOWN_PERFORMANCE

MSG_USERS

public static final java.lang.String MSG_USERS

MSG_SERVICE_NAME

public static final java.lang.String MSG_SERVICE_NAME

MSG_ANONYMETER_TOOL_TIP

private static final java.lang.String MSG_ANONYMETER_TOOL_TIP

MSG_ERROR_DISCONNECTED

private static final java.lang.String MSG_ERROR_DISCONNECTED

MSG_ERROR_PROXY

private static final java.lang.String MSG_ERROR_PROXY

MSG_TITLE_OLD_JAVA

private static final java.lang.String MSG_TITLE_OLD_JAVA

MSG_OLD_JAVA

private static final java.lang.String MSG_OLD_JAVA

MSG_OLD_JAVA_HINT

private static final java.lang.String MSG_OLD_JAVA_HINT

MSG_LBL_NEW_SERVICES_FOUND

private static final java.lang.String MSG_LBL_NEW_SERVICES_FOUND

MSG_TOOLTIP_NEW_SERVICES_FOUND

private static final java.lang.String MSG_TOOLTIP_NEW_SERVICES_FOUND

MSG_NEW_SERVICES_FOUND_EXPLAIN

private static final java.lang.String MSG_NEW_SERVICES_FOUND_EXPLAIN

MSG_NO_COSTS

private static final java.lang.String MSG_NO_COSTS

MSG_WITH_COSTS

private static final java.lang.String MSG_WITH_COSTS

MSG_BTN_ASSISTANT

private static final java.lang.String MSG_BTN_ASSISTANT

MSG_MN_ASSISTANT

private static final java.lang.String MSG_MN_ASSISTANT

MSG_MN_DETAILS

private static final java.lang.String MSG_MN_DETAILS

MSG_IS_DISABLED_EXPLAIN

private static final java.lang.String MSG_IS_DISABLED_EXPLAIN

MSG_IS_DEACTIVATED

private static final java.lang.String MSG_IS_DEACTIVATED

MSG_IS_TOOLTIP

private static final java.lang.String MSG_IS_TOOLTIP

MSG_IS_TRUST_PARANOID

private static final java.lang.String MSG_IS_TRUST_PARANOID

MSG_IS_TRUST_SUSPICIOUS

private static final java.lang.String MSG_IS_TRUST_SUSPICIOUS

MSG_IS_TRUST_HIGH

private static final java.lang.String MSG_IS_TRUST_HIGH

MSG_IS_TRUST_ALL

private static final java.lang.String MSG_IS_TRUST_ALL

MSG_IS_EDIT_TRUST

private static final java.lang.String MSG_IS_EDIT_TRUST

MSG_TRUST_FILTER

private static final java.lang.String MSG_TRUST_FILTER

MSG_CONNECTED

private static final java.lang.String MSG_CONNECTED

MSG_DELETE_MESSAGE

private static final java.lang.String MSG_DELETE_MESSAGE

MSG_HIDE_MESSAGE_SHORT

private static final java.lang.String MSG_HIDE_MESSAGE_SHORT

MSG_DELETE_MESSAGE_EXPLAIN

private static final java.lang.String MSG_DELETE_MESSAGE_EXPLAIN

MSG_DELETE_MESSAGE_SHORT

private static final java.lang.String MSG_DELETE_MESSAGE_SHORT

MSG_VIEW_MESSAGE

private static final java.lang.String MSG_VIEW_MESSAGE

MSG_ANTI_CENSORSHIP

private static final java.lang.String MSG_ANTI_CENSORSHIP

MSG_DATA_RETENTION_EXPLAIN

private static final java.lang.String MSG_DATA_RETENTION_EXPLAIN

MSG_OBSERVABLE_EXPLAIN

private static final java.lang.String MSG_OBSERVABLE_EXPLAIN

MSG_OBSERVABLE_TITLE

private static final java.lang.String MSG_OBSERVABLE_TITLE

MSG_DISTRIBUTION

private static final java.lang.String MSG_DISTRIBUTION

MSG_USER_ACTIVITY

private static final java.lang.String MSG_USER_ACTIVITY

MSG_JAVA_FORCED_TITLE

private static final java.lang.String MSG_JAVA_FORCED_TITLE

MSG_JAVA_FORCED_EXPLAIN

private static final java.lang.String MSG_JAVA_FORCED_EXPLAIN

MSG_JAVA_FORCED_OS

private static final java.lang.String MSG_JAVA_FORCED_OS

MSG_JAVA_FORCED_QUESTION

private static final java.lang.String MSG_JAVA_FORCED_QUESTION

MSG_LBL_ENCRYPTED_DATA

private static final java.lang.String MSG_LBL_ENCRYPTED_DATA

MSG_LBL_HTTP_DATA

private static final java.lang.String MSG_LBL_HTTP_DATA

MSG_LBL_OTHER_DATA

private static final java.lang.String MSG_LBL_OTHER_DATA

IMG_ICONIFY

private static final java.lang.String IMG_ICONIFY

IMG_ABOUT

private static final java.lang.String IMG_ABOUT

MSG_OPEN_FIREFOX

private static final java.lang.String MSG_OPEN_FIREFOX

m_blinkJobs

private JobQueue m_blinkJobs

m_transferedBytesJobs

private JobQueue m_transferedBytesJobs

m_channelsChangedJobs

private JobQueue m_channelsChangedJobs

m_packetMixedJobs

private JobQueue m_packetMixedJobs

HLP_ANONYMETER

private static final java.lang.String HLP_ANONYMETER

IMG_METER

private static final java.lang.String IMG_METER
See Also:
Constant Field Values

IMG_METER_NO_MEASURE

private static final java.lang.String IMG_METER_NO_MEASURE
See Also:
Constant Field Values

IMG_METER_DEACTIVATED

private static final java.lang.String IMG_METER_DEACTIVATED
See Also:
Constant Field Values

IMG_METER_CONNECTING

private static final java.lang.String IMG_METER_CONNECTING
See Also:
Constant Field Values

DEFAULT_LABEL

private final javax.swing.JLabel DEFAULT_LABEL

m_labelVersion

private javax.swing.JLabel m_labelVersion

m_pnlVersion

private javax.swing.JPanel m_pnlVersion

m_bttnHelp

private javax.swing.JButton m_bttnHelp

m_bttnQuit

private javax.swing.JButton m_bttnQuit

m_bttnIconify

private javax.swing.JButton m_bttnIconify

m_bttnConf

private javax.swing.JButton m_bttnConf

m_btnAssistant

private javax.swing.JButton m_btnAssistant

m_btnAbout

private javax.swing.JButton m_btnAbout

m_buttonDeleteMessage

private javax.swing.JLabel m_buttonDeleteMessage

m_dlgConfig

private JAPConf m_dlgConfig

LOCK_CONFIG

private java.lang.Object LOCK_CONFIG

m_bConfigActive

private boolean m_bConfigActive

m_ViewIconified

private JAPViewIconified m_ViewIconified

SYNC_ICONIFIED_VIEW

private java.lang.Object SYNC_ICONIFIED_VIEW

m_bIsIconified

private boolean m_bIsIconified

m_bWithPayment

private boolean m_bWithPayment

m_comboAnonServices

private JAPMixCascadeComboBox m_comboAnonServices

m_labelAnonService

private javax.swing.JLabel m_labelAnonService

m_labelAnonymity

private javax.swing.JLabel m_labelAnonymity

m_labelAnonymitySmall

private javax.swing.JLabel m_labelAnonymitySmall

m_labelAnonymityOnOff

private javax.swing.JLabel m_labelAnonymityOnOff

m_labelAnonMeter

private javax.swing.JLabel m_labelAnonMeter

m_labelAnonymityLow

private javax.swing.JLabel m_labelAnonymityLow

m_labelAnonymityHigh

private javax.swing.JLabel m_labelAnonymityHigh

m_labelSpeed

private javax.swing.JLabel m_labelSpeed

m_labelDelay

private javax.swing.JLabel m_labelDelay

m_labelSpeedLabel

private javax.swing.JLabel m_labelSpeedLabel

m_labelDelayLabel

private javax.swing.JLabel m_labelDelayLabel

m_labelOperatorCountries

private javax.swing.JLabel m_labelOperatorCountries

m_lblUsers

private javax.swing.JLabel m_lblUsers

m_lblUsersLabel

private javax.swing.JLabel m_lblUsersLabel

m_labelOperatorFlags

private javax.swing.JLabel[] m_labelOperatorFlags

m_adapterOperator

private JAPNewView.MixMouseAdapter[] m_adapterOperator

m_lawListener

private JAPNewView.LawListener m_lawListener

m_lawFlags

private javax.swing.JLabel[] m_lawFlags

m_labelOwnTraffic

private javax.swing.JLabel m_labelOwnTraffic

m_labelOwnTrafficSmall

private javax.swing.JLabel m_labelOwnTrafficSmall

m_labelOwnActivity

private javax.swing.JLabel m_labelOwnActivity

m_labelForwarderActivity

private javax.swing.JLabel m_labelForwarderActivity

m_labelOwnActivitySmall

private javax.swing.JLabel m_labelOwnActivitySmall

m_labelForwarderActivitySmall

private javax.swing.JLabel m_labelForwarderActivitySmall

m_labelOwnTrafficBytes

private javax.swing.JLabel m_labelOwnTrafficBytes

m_labelOwnTrafficUnit

private javax.swing.JLabel m_labelOwnTrafficUnit

m_labelOwnTrafficBytesSmall

private javax.swing.JLabel m_labelOwnTrafficBytesSmall

m_labelOwnTrafficUnitSmall

private javax.swing.JLabel m_labelOwnTrafficUnitSmall

m_labelOwnTrafficWWW

private javax.swing.JLabel m_labelOwnTrafficWWW

m_labelOwnTrafficOther

private javax.swing.JLabel m_labelOwnTrafficOther

m_labelOwnTrafficBytesWWW

private javax.swing.JLabel m_labelOwnTrafficBytesWWW

m_labelOwnTrafficUnitWWW

private javax.swing.JLabel m_labelOwnTrafficUnitWWW

m_labelOwnTrafficBytesOther

private javax.swing.JLabel m_labelOwnTrafficBytesOther

m_labelOwnTrafficUnitOther

private javax.swing.JLabel m_labelOwnTrafficUnitOther

m_labelForwarding

private javax.swing.JLabel m_labelForwarding

m_labelForwardingSmall

private javax.swing.JLabel m_labelForwardingSmall

m_labelForwardedTrafficBytes

private javax.swing.JLabel m_labelForwardedTrafficBytes

m_labelForwardedTrafficBytesUnit

private javax.swing.JLabel m_labelForwardedTrafficBytesUnit

m_labelForwarderCurrentConnections

private javax.swing.JLabel m_labelForwarderCurrentConnections

m_labelForwarderAcceptedConnections

private javax.swing.JLabel m_labelForwarderAcceptedConnections

m_labelForwarderRejectedConnections

private javax.swing.JLabel m_labelForwarderRejectedConnections

m_labelForwardedTraffic

private javax.swing.JLabel m_labelForwardedTraffic

m_labelForwarderUsedBandwidth

private javax.swing.JLabel m_labelForwarderUsedBandwidth

m_labelForwarderCurrentConnectionsLabel

private javax.swing.JLabel m_labelForwarderCurrentConnectionsLabel

m_labelForwarderAcceptedConnectionsLabel

private javax.swing.JLabel m_labelForwarderAcceptedConnectionsLabel

m_labelForwarderRejectedConnectionsLabel

private javax.swing.JLabel m_labelForwarderRejectedConnectionsLabel

m_labelForwarderUsedBandwidthLabel

private javax.swing.JLabel m_labelForwarderUsedBandwidthLabel

m_labelForwarderConnections

private javax.swing.JLabel m_labelForwarderConnections

m_labelForwardingErrorSmall

private javax.swing.JLabel m_labelForwardingErrorSmall

m_labelForwardingError

private javax.swing.JLabel m_labelForwardingError

m_progressOwnTrafficActivity

private JAPProgressBar m_progressOwnTrafficActivity

m_progressOwnTrafficActivitySmall

private JAPProgressBar m_progressOwnTrafficActivitySmall

m_progressAnonLevel

private JAPProgressBar m_progressAnonLevel

m_progressDistribution

private JAPProgressBar m_progressDistribution

m_bttnAnonDetails

private javax.swing.JButton m_bttnAnonDetails

m_bttnReload

private javax.swing.JButton m_bttnReload

m_firefox

private javax.swing.JButton m_firefox

m_cbAnonymityOn

private javax.swing.JCheckBox m_cbAnonymityOn

m_rbAnonOff

private javax.swing.JRadioButton m_rbAnonOff

m_rbAnonOn

private javax.swing.JRadioButton m_rbAnonOn

m_cbForwarding

private javax.swing.JCheckBox m_cbForwarding

m_cbForwardingSmall

private javax.swing.JCheckBox m_cbForwardingSmall

m_flippingpanelAnon

private FlippingPanel m_flippingpanelAnon

m_flippingpanelOwnTraffic

private FlippingPanel m_flippingpanelOwnTraffic

m_flippingpanelForward

private javax.swing.JPanel m_flippingpanelForward

m_StatusPanel

private StatusPanel m_StatusPanel

m_panelAnonService

private javax.swing.JPanel m_panelAnonService

SYNC_DISCONNECTED_ERROR

private java.lang.Object SYNC_DISCONNECTED_ERROR

m_bDisconnectedErrorShown

private boolean m_bDisconnectedErrorShown

m_bIgnoreAnonComboEvents

private boolean m_bIgnoreAnonComboEvents

m_flippingPanelPayment

private PaymentMainPanel m_flippingPanelPayment

m_connectionEstablishedSync

private java.lang.Object m_connectionEstablishedSync

m_bShowConnecting

private boolean m_bShowConnecting

m_progForwarderActivity

private JAPProgressBar m_progForwarderActivity

m_progForwarderActivitySmall

private JAPProgressBar m_progForwarderActivitySmall

m_ForwardingID

private int m_ForwardingID

m_updateAvailableID

private int m_updateAvailableID

m_messageIDs

private java.util.Hashtable m_messageIDs

m_enableInfoServiceID

private int m_enableInfoServiceID

m_newServicesID

private int m_newServicesID

SYNC_STATUS_ENABLE_IS

private final java.lang.Object SYNC_STATUS_ENABLE_IS

SYNC_STATUS_UPDATE_AVAILABLE

private final java.lang.Object SYNC_STATUS_UPDATE_AVAILABLE

SYNC_NEW_SERVICES

private final java.lang.Object SYNC_NEW_SERVICES

m_listenerUpdate

private java.awt.event.ActionListener m_listenerUpdate

m_listenerEnableIS

private java.awt.event.ActionListener m_listenerEnableIS

m_listenerNewServices

private java.awt.event.ActionListener m_listenerNewServices

m_lTrafficWWW

private volatile long m_lTrafficWWW

m_lTrafficOther

private volatile long m_lTrafficOther

SYNC_ACTION

private java.lang.Object SYNC_ACTION

m_bActionPerformed

private boolean m_bActionPerformed

m_mainMovedAdapter

private JAPNewView.ComponentMovedAdapter m_mainMovedAdapter

m_configMovedAdapter

private JAPNewView.ComponentMovedAdapter m_configMovedAdapter

m_helpMovedAdapter

private JAPNewView.ComponentMovedAdapter m_helpMovedAdapter

m_miniMovedAdapter

private JAPNewView.ComponentMovedAdapter m_miniMovedAdapter

m_bTrustChanged

private boolean m_bTrustChanged

m_bIsSimpleView

private boolean m_bIsSimpleView

m_msgIDInsecure

private int m_msgIDInsecure

m_msgForwardServer

private int m_msgForwardServer

m_msgForwardServerStatus

private int m_msgForwardServerStatus

m_mouseForwardError

private java.awt.event.MouseListener m_mouseForwardError

SYNC_FORWARD_MSG

private final java.lang.Object SYNC_FORWARD_MSG

m_currentChannels

private int m_currentChannels

m_messagesShown

private java.util.Hashtable m_messagesShown
Constructor Detail

JAPNewView

public JAPNewView(java.lang.String s,
                  JAPController a_controller)
Method Detail

create

public void create(boolean loadPay)
Specified by:
create in interface IJAPMainView

init

private void init()

buildForwarderPanel

private javax.swing.JPanel buildForwarderPanel()

disableSetAnonMode

public void disableSetAnonMode()
Used to disable activation on JAP Example: Activation of listener failed --> disable activation checkboxes

Specified by:
disableSetAnonMode in interface IJAPMainView

getMeterImage

private javax.swing.Icon getMeterImage(MixCascade a_cascade,
                                       StatusInfo a_statusInfo)
Anon Level is >=0 and <=5. If -1 no measure is available TODO Update with new images!!


blink

private void blink(long c)
Shows a blinking JAP icon.


update

public void update(java.util.Observable a_observable,
                   java.lang.Object a_message)
Specified by:
update in interface java.util.Observer

showIconifiedView

public void showIconifiedView()
Specified by:
showIconifiedView in class AbstractJAPMainView

connectionEstablished

public void connectionEstablished(AnonServerDescription a_serverDescription)
Specified by:
connectionEstablished in interface AnonServiceEventListener

dataChainErrorSignaled

public void dataChainErrorSignaled()
Specified by:
dataChainErrorSignaled in interface AnonServiceEventListener

dispose

public void dispose()
Overrides:
dispose in class java.awt.Window

disconnected

public void disconnected()
Specified by:
disconnected in interface AnonServiceEventListener

connecting

public void connecting(AnonServerDescription a_serverDescription)
Specified by:
connecting in interface AnonServiceEventListener

connectionError

public void connectionError()
Specified by:
connectionError in interface AnonServiceEventListener

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

showConnecting

private void showConnecting(boolean a_bOnError)

showHelpWindow

private void showHelpWindow()

setVisible

public void setVisible(boolean a_bVisible)
Specified by:
setVisible in interface IJAPMainView
Overrides:
setVisible in class AbstractJAPMainView

saveWindowPositions

public void saveWindowPositions()
Specified by:
saveWindowPositions in class AbstractJAPMainView

showConfigDialog

public void showConfigDialog(java.lang.String card,
                             java.lang.Object a_value)
Specified by:
showConfigDialog in interface IJAPMainView
Overrides:
showConfigDialog in class AbstractJAPMainView

getCurrentView

public java.awt.Component getCurrentView()
Overrides:
getCurrentView in class AbstractJAPMainView

setOptimalSize

private void setOptimalSize()

doClickOnCascadeChooser

public void doClickOnCascadeChooser()
Specified by:
doClickOnCascadeChooser in interface IJAPMainView

onUpdateValues

public void onUpdateValues()
Description copied from interface: IJAPMainView
Performs GUI update operations. Should not be called directly!!

Specified by:
onUpdateValues in interface IJAPMainView

getViewIconified

public JAPViewIconified getViewIconified()
Specified by:
getViewIconified in interface IJAPMainView

registerViewIconified

public void registerViewIconified(JAPViewIconified v)
Specified by:
registerViewIconified in interface IJAPMainView

channelsChanged

public void channelsChanged(int c)
Specified by:
channelsChanged in interface IProxyListener

packetMixed

public void packetMixed(long a_totalBytes)
Specified by:
packetMixed in interface AnonServiceEventListener
Overrides:
packetMixed in class AbstractJAPMainView

transferedBytes

public void transferedBytes(long c,
                            int protocolType)
Description copied from interface: IProxyListener
Called if some bytes are transferred.

Specified by:
transferedBytes in interface IProxyListener
Parameters:
c - either total amount or delta of transferred bytes
protocolType - the protocol to which the bytes are belonging

getPreferredSize

public java.awt.Dimension getPreferredSize()
Overrides:
getPreferredSize in class java.awt.Container

addStatusMsg

public int addStatusMsg(java.lang.String msg,
                        int type,
                        boolean bAutoRemove)
Specified by:
addStatusMsg in interface IStatusLine

addStatusMsg

public int addStatusMsg(java.lang.String msg,
                        int type,
                        boolean bAutoRemove,
                        java.awt.event.ActionListener a_listener)
Specified by:
addStatusMsg in interface IStatusLine

removeStatusMsg

public void removeStatusMsg(int id)
Specified by:
removeStatusMsg in interface IStatusLine

showJavaUpdateDialog

private void showJavaUpdateDialog(JavaVersionDBEntry a_entry)

fetchMixCascadesAsync

private void fetchMixCascadesAsync(boolean bShowError)

updateFonts

private void updateFonts()

equals

private static boolean equals(MixCascade a_one,
                              MixCascade a_two)

messageReceived

public void messageReceived(PayMessage completeMessage)
Specified by:
messageReceived in interface IMessageListener

messageRemoved

public void messageRemoved(PayMessage message)
Specified by:
messageRemoved in interface IMessageListener