When I try to turn off a breakpoint by invoking "ToggleBreakpoint", the
highlighted region of the source indicating the breakpoint doesn't
become unhighlighted.

To reproduce:

1. Bring up a small test program (mine attached) and set a breakpoint
using "JDEbug->ToggleBreakpoint" (I set the breakpoint on line 4).

2. Invoke "JDE->Debug App". Debugger starts up and stops at breakpoint.
So far, everything is OK.

3. Invoke "JDEbug->ToggleBreakpoint". Highlighting indicating breakpoint
doesn't go away as it should. 

4. Invoke "JDEbug->Continue". Program execution continues to the end of
program exectuion, indicating that the breakpoint was successfully
removed and the the problem is some sort of display problem.

Thank you for your help.

Chuck Irvine
Sprint



To: [EMAIL PROTECTED]
Subject: 
--text follows this line--

Please enter the details of your bug report here



Emacs  : GNU Emacs 20.7.1 (i386-*-nt4.0.1381)
 of Tue Jun 13 2000 on buffy
Package: JDE version 2.2.6beta3

current state:
==============
(setq
 jde-gen-session-bean-template '("(jde-wiz-insert-imports-into-buffer
(list \"javax.ejb.*\"\n\"java.rmi.RemoteException\"))"
"(jde-wiz-update-implements-clause \"SessionBean\")" "'> \"public void
ejbActivate() throws RemoteException {\"'>'n \"}\"'>'n\n'>'n" "'>
\"public void ejbPassivate() throws RemoteException {\"'>'n
\"}\"'>'n\n'>'n" "'> \"public void ejbRemove() throws RemoteException
{\"'>'n \"}\"'>'n '>'n" "'> \"public void
setSessionContext(SessionContext ctx) throws\nRemoteException {\"" "'>'n
\"}\"'>'n '>'n" "'> \"public void unsetSessionContext() throws
RemoteException {\"'>'n\n\"}\"'>'n '>'n'>")
 jde-gen-beep '("(end-of-line) '&"
            "\"Toolkit.getDefaultToolkit().beep();\"'>'n'>")
 jde-which-method-format '("[" jde-which-method-current "]")
 jde-run-classic-mode-vm nil
 jde-javadoc-gen-nodeprecatedlist nil
 jde-which-method-max-length 20
 jde-imenu-include-classdef t
 jde-javadoc-gen-link-online nil
 jde-gen-code-templates '(("Get Set Pair" . jde-gen-get-set)
                    ("toString method" . jde-gen-to-string-method)
                    ("Action Listener" . jde-gen-action-listener)
                    ("Window Listener" . jde-gen-window-listener)
                    ("Mouse Listener" . jde-gen-mouse-listener)
                    ("Mouse Motion Listener" .
                     jde-gen-mouse-motion-listener)
                    ("Inner Class" . jde-gen-inner-class)
                    ("println" . jde-gen-println)
                    ("beep" . jde-gen-beep)
                    ("property change support" .
                     jde-gen-property-change-support)
                    ("EJB Entity Bean" . jde-gen-entity-bean)
                    ("EJB Session Bean" . jde-gen-session-bean))
 jde-gen-cflow-else '("(if (jde-parse-comment-or-quoted-p)" "'(l
\"else\")"
                  "'(l '> \"else \"" "(if jde-gen-k&r " "()" "'>'n)"
                  "\"{\"'>'n'>'r'n" "\"} // end of else\"'>'n'>)" ")")
 jde-make-args ""
 jde-javadoc-gen-destination-directory "JavaDoc"
 jde-mode-line-format '("-" mode-line-mule-info mode-line-modified
                  mode-line-frame-identification
                  mode-line-buffer-identification "   "
                  global-mode-string "   %[(" mode-name
                  mode-line-process minor-mode-alist "%n" ")%]--"
                  (line-number-mode "L%l--")
                  (column-number-mode "C%c--") (-3 . "%p")
                  (jde-which-method-mode
                   ("--" jde-which-method-format "--"))
                  "-%-")
 jde-mode-abbreviations '(("ab" . "abstract") ("bo" . "boolean")
                    ("br" . "break") ("by" . "byte")
                    ("byv" . "byvalue") ("cas" . "cast")
                    ("ca" . "catch") ("ch" . "char") ("cl" . "class")
                    ("co" . "const") ("con" . "continue")
                    ("de" . "default") ("dou" . "double")
                    ("el" . "else") ("ex" . "extends") ("fa" . "false")
                    ("fi" . "final") ("fin" . "finally")
                    ("fl" . "float") ("fo" . "for") ("fu" . "future")
                    ("ge" . "generic") ("go" . "goto")
                    ("impl" . "implements") ("impo" . "import")
                    ("ins" . "instanceof") ("in" . "int")
                    ("inte" . "interface") ("lo" . "long")
                    ("na" . "native") ("ne" . "new") ("nu" . "null")
                    ("pa" . "package") ("pri" . "private")
                    ("pro" . "protected") ("pu" . "public")
                    ("re" . "return") ("sh" . "short")
                    ("st" . "static") ("su" . "super")
                    ("sw" . "switch") ("sy" . "synchronized")
                    ("th" . "this") ("thr" . "throw")
                    ("throw" . "throws") ("tra" . "transient")
                    ("tr" . "true") ("vo" . "void")
                    ("vol" . "volatile") ("wh" . "while"))
 jde-imenu-enable t
 jde-compile-option-verbose nil
 jde-db-option-heap-size '((1 . "megabytes") (16 . "megabytes"))
 jde-bug-debugger-host-address "SPR97186"
 jde-make-working-directory ""
 jde-bug-breakpoint-marker-colors '("white" . "dim gray")
 jde-javadoc-gen-use nil
 jde-gen-buffer-boilerplate nil
 jde-bug-raise-frame-p t
 jde-db-option-application-args nil
 jde-javadoc-gen-nonavbar nil
 jde-javadoc-gen-nohelp nil
 jde-bug-vm-includes-jpda-p nil
 jde-gen-jfc-app-buffer-template '("(funcall
jde-gen-boilerplate-function) '>'n" "\"import java.awt.Dimension;\"
'>'n" "\"import java.awt.Graphics;\" '>'n" "\"import
java.awt.Graphics2D;\" '>'n" "\"import java.awt.Color;\" '>'n" "\"import
java.awt.geom.Ellipse2D;\" '>'n" "\"import
java.awt.event.WindowAdapter;\" '>'n" "\"import
java.awt.event.WindowEvent;\" '>'n" "\"import javax.swing.JFrame;\"
'>'n" "\"import javax.swing.JPanel;\" '>'n" "\"import
javax.swing.JScrollPane;\" '>'n" "\"import javax.swing.JMenuBar;\" '>'n"
"\"import javax.swing.JMenu;\" '>'n" "\"import
java.awt.event.ActionEvent;\" '>'n" "\"import
javax.swing.AbstractAction;\" '>'n '>'n" "\"/**\" '>'n" "\" * \""
"(file-name-nondirectory buffer-file-name) '>'n" "\" *\" '>'n" "\" *\"
'>'n" "\" * Created: \" (current-time-string) '>'n" "\" *\" '>'n" "\" *
@author <a href=\\\"mailto: \\\"\" (user-full-name) \"</a>\"'>'n" "\" *
@version\" '>'n" "\" */\" '>'n" "'>'n" "\"public class \""
"(file-name-sans-extension (file-name-nondirectory buffer-file-name))"
"\" extends JFrame\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n"
"\"class Canvas extends JPanel\"" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "\"public Canvas () \"" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "\"setSize(getPreferredSize());\" '>'n"
"\"Canvas.this.setBackground(Color.white);\" '>'n" "\"}\"'>'n '>'n"
"\"public Dimension getPreferredSize() \"" "(if jde-gen-k&r " "()"
"'>'n)" "\"{\"'>'n" "\"return new Dimension(600, 600);\" '>'n"
"\"}\"'>'n '>'n" "\"public void paintComponent(Graphics g) \"" "(if
jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"super.paintComponent(g);\"
'>'n" "\"Graphics2D g2d = (Graphics2D) g;\" '>'n" "\"Ellipse2D circle =
new Ellipse2D.Double(0d, 0d, 100d, 100d);\" '>'n"
"\"g2d.setColor(Color.red);\" '>'n" "\"g2d.translate(10, 10);\" '>'n"
"\"g2d.draw(circle);\" '>'n" "\"g2d.fill(circle);\" '>'n" "\"}\"'>'n "
"\"}\"'>'n '>'n" "\"public \"" "(file-name-sans-extension
(file-name-nondirectory buffer-file-name))" "\"()\"" "(if jde-gen-k&r "
"()" "'>'n)" "\"{\"'>'n" "\"super(\\\"\" (P \"Enter app title: \")
\"\\\");\" '>'n" "\"setSize(300, 300);\" '>'n" "\"addWindowListener(new
WindowAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n"
"\"public void windowClosing(WindowEvent e) {System.exit(0);}\" '>'n"
"\"public void windowOpened(WindowEvent e) {}\" '>'n" "\"});\"'>'n"
"\"setJMenuBar(createMenu());\" '>'n" "\"getContentPane().add(new
JScrollPane(new Canvas()));\" '>'n" "\"}\"'>'n" "'>'n" "\"public static
void main(String[] args) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n"
"'>'n" "(file-name-sans-extension (file-name-nondirectory
buffer-file-name))" "\" f = new \"" "(file-name-sans-extension
(file-name-nondirectory buffer-file-name))" "\"();\" '>'n"
"\"f.show();\" '>'n" "\"}\"'>'n '>'n" "\"protected JMenuBar createMenu()
\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"JMenuBar mb = new
JMenuBar();\" '>'n" "\"JMenu menu = new JMenu(\\\"File\\\");\" '>'n"
"\"menu.add(new AbstractAction(\\\"Exit\\\") \"" "(if jde-gen-k&r " "()"
"'>'n)" "\"{\"'>'n" "\"public void actionPerformed(ActionEvent e) \""
"(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"System.exit(0);\" '>'n"
"\"}\" '>'n" "\"});\" '>'n" "\"mb.add(menu);\" '>'n" "\"return mb;\"
'>'n" "\"}\"'>'n " "\"} // \"'>" "(file-name-sans-extension
(file-name-nondirectory buffer-file-name))" "'>'n")
 jde-bug-key-bindings '(("[? ? ?]" . jde-bug-step-over)
                  ("[? ? ?]" . jde-bug-step-into)
                  ("[? ? ?]" . jde-bug-step-into-all)
                  ("[? ? ?]" . jde-bug-step-out)
                  ("[? ? ?]" . jde-bug-continue)
                  ("[? ? ?]" . jde-bug-toggle-breakpoint))
 jde-compile-finish-hook '(jde-compile-finish-refresh-speedbar
                     jde-compile-finish-flush-completion-cache)
 jde-compile-option-nowarn nil
 jde-setnu-mode-threshold 20000
 jde-run-java-vm-w "javaw"
 jde-compile-option-encoding nil
 jde-run-option-java-profile '(nil . "./java.prof")
 bsh-startup-timeout 10
 jde-bug-jpda-directory "c:/programs/jdk1.2.2/jpda"
 jde-read-compile-args nil
 jde-run-java-vm "java"
 jde-db-option-verbose '(nil nil nil)
 jde-which-method-class-min-length 4
 jde-db-read-app-args nil
 jde-javadoc-gen-nodeprecated nil
 jde-run-option-heap-profile '(nil "./java.hprof" 5 20 "Allocation
objects")
 jde-gen-println '("(end-of-line) '&"
               "\"System.out.println(\" (P \"Print out: \") \");\"
'>'n'>")
 jde-enable-abbrev-mode nil
 bsh-vm-args nil
 jde-auto-parse-max-buffer-size 50000
 jde-gen-cflow-main '("(if (jde-parse-comment-or-quoted-p)" "'(l
\"main\")"
                  "'(l '> \"public static void main (String[] args) \""
                  "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n"
                  "\"} // end of main ()\"'>'n'>)" ")")
 jde-javadoc-exception-tag-template '("* @exception " type
                              " if an error occurs")
 jde-global-classpath nil
 jde-gen-window-listener-template '("(end-of-line) '& (P \"Window name:
\")"
                            "\".addWindowListener(new WindowAdapter()
\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'> \"public void
windowActivated(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "\"}\"" "'>'n \"public void windowClosed(WindowEvent e)\""
"(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"public
void windowClosing(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "'>'n \"System.exit(0);\" '>'n \"}\"" "'>'n \"public void
windowDeactivated(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void
windowDeiconified(WindowEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "'>'n \"}\"" "'>'n \"public void windowIconified(WindowEvent
e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n
\"public void windowOpened(WindowEvent e) \"" "(if jde-gen-k&r " "()"
"'>'n)" "\"{\"'>'n" "'>'n \"}\"" "'>'n \"});\" '>'n'>")
 jde-run-working-directory ""
 jde-gen-property-change-support '("(end-of-line) '&"
                           "\"protected PropertyChangeSupport pcs =  new
PropertyChangeSupport(this);\" '>'n '>'n" "\"/**\" '>'n" "\"* Adds a
PropertyChangeListener to the listener list.\" '>'n" "\"* The listener
is registered for all properties.\" '>'n" "\"*\" '>'n" "\"* @param
listener The PropertyChangeListener to be added\" '>'n" "\"*/\" '>'n"
"\"public void addPropertyChangeListener(PropertyChangeListener
listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n"
"\"pcs.addPropertyChangeListener(listener);\" '>'n \"}\" '>'n '>'n"
"\"/**\" '>'n" "\"* Removes a PropertyChangeListener from the listener
list.\" '>'n" "\"* This removes a PropertyChangeListener that was
registered for all properties.\" '>'n" "\"*\" '>'n " "\"* @param
listener The PropertyChangeListener to be removed\" '>'n" "\"*/\" '>'n"
"\"public void removePropertyChangeListener(PropertyChangeListener
listener) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n"
"'>\"pcs.removePropertyChangeListener(listener);\" '>'n \"}\" '>'n '>'n"
"\"/**\" '>'n\"* Adds a PropertyChangeListener for a specific
property.\" '>'n" "\"* The listener will be invoked only when a call on
firePropertyChange\" '>'n" "\"* names that specific property.\" '>'n"
"\"*\" '>'n \"* @param propertyName The name of the property to listen
on\" '>'n" "\"* @param listener The PropertyChangeListener to be added\"
'>'n \"*/\" '>'n" "\"public void addPropertyChangeListener(String
propertyName,\" '>'n" "\"PropertyChangeListener listener) \"" "(if
jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>
\"pcs.addPropertyChangeListener(propertyName, listener);\" '>'n \"}\"
'>'n '>'n" "\"/**\" '>'n\"* Removes a PropertyChangeListener for a
specific property.\" '>'n" "\"*\" '>'n \"* @param propertyName The name
of the property that was listened on\" '>'n" "\"* @param listener The
PropertyChangeListener to be removed\" '>'n \"*/\" '>'n" "\"public void
removePropertyChangeListener(String propertyName,\" '>'n"
"\"PropertyChangeListener listener) \"" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "'> \"pcs.removePropertyChangeListener(propertyName,
listener);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound
property update to any registered listeners. \" '>'n" "\"* No event is
fired if old and new are equal and non-null.\" '>'n" "\"*\" '>'n \"*
@param propertyName The programmatic name of the property that was
changed\" '>'n" "\"* @param oldValue The old value of the property\"
'>'n" "\"* @param newValue The new value of the property.\" '>'n \"*/\"
'>'n" "\"public void firePropertyChange(String propertyName, Object
oldValue, Object newValue) \"" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "'> \"pcs.firePropertyChange(propertyName, oldValue,
newValue);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound
property update to any registered listeners. \" '>'n" "\"* No event is
fired if old and new are equal and non-null.\" '>'n" "\"* This is merely
a convenience wrapper around the more general\" '>'n" "\"*
firePropertyChange method that takes Object values.\" '>'n" "\"* No
event is fired if old and new are equal and non-null.\" '>'n" "\"*\"
'>'n \"* @param propertyName The programmatic name of the property that
was changed\" '>'n" "\"* @param oldValue The old value of the property\"
'>'n" "\"* @param newValue The new value of the property.\" '>'n \"*/\"
'>'n" "\"public void firePropertyChange(String propertyName, int
oldValue, int newValue) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n"
"'> \"pcs.firePropertyChange(propertyName, oldValue, newValue);\" '>'n
\"}\" '>'n '>'n" "\"/**\" '>'n\"* Reports a bound property update to any
registered listeners. \" '>'n" "\"* No event is fired if old and new are
equal and non-null.\" '>'n" "\"* This is merely a convenience wrapper
around the more general\" '>'n" "\"* firePropertyChange method that
takes Object values.\" '>'n" "\"* No event is fired if old and new are
equal and non-null.\" '>'n" "\"*\" '>'n \"* @param propertyName The
programmatic name of the property that was changed\" '>'n" "\"* @param
oldValue The old value of the property\" '>'n" "\"* @param newValue The
new value of the property.\" '>'n \"*/\" '>'n" "\"public void
firePropertyChange(String propertyName, boolean oldValue, boolean
newValue) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>
\"pcs.firePropertyChange(propertyName, oldValue, newValue);\" '>'n \"}\"
'>'n '>'n" "\"/**\" '>'n\"* Fires an existing PropertyChangeEvent to any
registered listeners.\" '>'n" "\"* No event is fired if the given
event's old and new values are equal and non-null. \" '>'n" "\"*\" '>'n
\"* @param evt The PropertyChangeEvent object.\" '>'n\"*/\" '>'n"
"\"public void firePropertyChange(PropertyChangeEvent evt) \"" "(if
jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>
\"pcs.firePropertyChange(evt);\" '>'n \"}\" '>'n '>'n" "\"/**\" '>'n\"*
Checks if there are any listeners for a specific property.\" '>'n"
"\"*\" '>'n \"* @param evt The PropertyChangeEvent object.\" '>'n" "\"*
@return <code>true</code>if there are one or more listeners for the
given property\" '>'n" "\"*/\" '>'n" "\"public boolean
hasListeners(String propertyName) \"" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "'> \"return pcs.hasListeners(propertyName);\" '>'n \"}\"
'>'n '>'n'>")
 jde-javadoc-describe-interface-template '("* Describe interface "
                                 (jde-javadoc-code name) " here.")
 jde-imenu-include-signature t
 jde-db-marker-regexp "^.*: thread=.*,
\\(\\(.*[.]\\)*\\)\\([^$]*\\)\\($.*\\)*[.].+(), line=\\([0-9]*\\),"
 jde-gen-mouse-motion-listener-template '("(end-of-line) '& (P
\"Component name: \")" "\".addMouseMotionListener(new
MouseMotionAdapter() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>" "'>'n
\"public void mouseDragged(MouseEvent e) \"" "(if jde-gen-k&r " "()"
"'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n \"public void mouseMoved(MouseEvent
e) \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>" "'>'n
\"});\"'>'n'>")
 jde-key-bindings '(("[? ? ?]" . jde-run-menu-run-applet)
                ("[? ? ?]" . jde-build)
                ("[? ? ?]" . jde-compile)
                ("[? ? ?]" . jde-debug)
                ("[? ? ?]" . jde-wiz-implement-interface)
                ("[? ? ?j]" . jde-javadoc-generate-javadoc-template)
                ("[? ? ?
]" . bsh)
                ("[? ? ?\f]" . jde-gen-println)
                ("[? ? ?]" . jde-browse-jdk-doc)
                ("[? ? ?]" . jde-save-project)
                ("[? ? ?]" . jde-wiz-update-class-list)
                ("[? ? ?]" . jde-run)
                ("[? ? ?]" . speedbar-frame-mode)
                ("[? ? ?]" . jde-db-menu-debug-applet)
                ("[? ? ?]" . jde-help-symbol)
                ("[? ? ?]" . jde-show-class-source)
                ("[? ? ?]" . jde-wiz-find-and-import)
                ("[(control c) (control v) (control ?.)]" .
                 jde-complete-at-point-menu)
                ("[(control c) (control v) ?.]" .
jde-complete-at-point))
 jde-gen-cflow-for-i '("(if (jde-parse-comment-or-quoted-p)" "'(l
\"fori\")"
                   "'(l '> \"for (int \" (p \"variable: \" var) \" = 0;
\"" "(s var)" "\" < \"(p \"upper bound: \" ub)\"; \" (s var) \"++) \""
"(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of for
(int \" (s var) \" = 0; \"" "(s var) \" < \" (s ub) \"; \" (s var)
\"++)\"'>'n'>)" ")")
 jde-run-option-classpath nil
 jde-javadoc-gen-detail-switch '("-protected")
 jde-bug-sio-connect-delay 1
 jde-javadoc-param-tag-template '("* @param " name " " (jde-javadoc-a
type)
                          " " (jde-javadoc-code type) " value")
 jde-compile-option-verbose-path nil
 jde-javadoc-display-doc t
 jde-imenu-modifier-abbrev-alist '(("public" . 43) ("protected" . 177)
                           ("private" . 172) ("static" . 2215)
                           ("transient" . 35) ("volatile" . 126)
                           ("abstract" . 170) ("final" . 182)
                           ("native" . 36) ("synchronized" . 64)
                           ("strictfp" . 37))
 jde-db-debugger '("JDEbug" "" . "Executable")
 jde-jdk-doc-url
"http://www.javasoft.com/products/jdk/1.1/docs/index.html"
 jde-gen-cflow-enable t
 jde-compiler "javac"
 jde-javadoc-gen-verbose nil
 jde-javadoc-describe-method-template '("* Describe " (jde-javadoc-code
name)
                              " method here.")
 jde-gen-class-buffer-template '("(funcall jde-gen-boilerplate-function)
'>'n" "\"/**\" '>'n" "\" * \"" "(file-name-nondirectory
buffer-file-name) '>'n" "\" *\" '>'n" "\" *\" '>'n" "\" * Created: \"
(current-time-string) '>'n" "\" *\" '>'n" "\" * @author <a
href=\\\"mailto: \\\"\" (user-full-name) \"</a>\"'>'n" "\" * @version\"
'>'n" "\" */\" '>'n'" "'>'n" "\"public class \""
"(file-name-sans-extension (file-name-nondirectory buffer-file-name))"
"\" \" (jde-gen-get-super-class)" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "\"public \"" "(file-name-sans-extension
(file-name-nondirectory buffer-file-name))" "\" ()\"" "(if jde-gen-k&r "
"()" "'>'n)" "\"{\"'>'n" "'>'p'n" "\"}\">" "'>'n" "\"}\">" "\"// \""
"(file-name-sans-extension (file-name-nondirectory buffer-file-name))"
"'>'n")
 jde-javadoc-checker-level 'protected
 jde-appletviewer-option-vm-args nil
 jde-run-executable-args nil
 jde-db-option-garbage-collection '(t t)
 jde-javadoc-gen-stylesheetfile ""
 jde-use-font-lock t
 jde-compile-option-bootclasspath nil
 jde-make-program "make"
 jde-javadoc-gen-group nil
 jde-javadoc-gen-link-offline nil
 jde-entering-java-buffer-hook '(jde-reload-project-file
                         jde-which-method-update-on-entering-buffer)
 jde-javadoc-gen-doc-title ""
 jde-javadoc-gen-header ""
 jde-run-option-vm-args nil
 jde-javadoc-gen-window-title ""
 jde-compile-option-directory ""
 jde-imenu-create-index-function 'semantic-create-imenu-index
 jde-gen-console-buffer-template '("(funcall
jde-gen-boilerplate-function) '>'n" "\"/**\" '>'n" "\" * \""
"(file-name-nondirectory buffer-file-name) '>'n" "\" *\" '>'n" "\" *\"
'>'n" "\" * Created: \" (current-time-string) '>'n" "\" *\" '>'n" "\" *
@author <a href=\\\"mailto: \\\"\" (user-full-name) \"</a>\"'>'n" "\" *
@version\" '>'n" "\" */\" '>'n" "'>'n" "\"public class \""
"(file-name-sans-extension (file-name-nondirectory buffer-file-name))"
"(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public \""
"(file-name-sans-extension (file-name-nondirectory buffer-file-name))"
"\" ()\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "'>'n" "\"}\"'>'n"
"'>'n" "\"public static void main(String[] args)\"" "(if jde-gen-k&r "
"()" "'>'n)" "\"{\"'>'n" "'>'p'n" "\"}\"'>'n" "\"} // \"'>"
"(file-name-sans-extension (file-name-nondirectory buffer-file-name))"
"'>'n")
 jde-read-make-args nil
 jde-javadoc-gen-noindex nil
 jde-gen-mouse-listener-template '("(end-of-line) '& (P \"Component
name: \")" "\".addMouseListener(new MouseAdapter() \"" "(if jde-gen-k&r
" "()" "'>'n)" "\"{\"'> " "'>'n \"public void mouseClicked(MouseEvent e)
\" " "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\" '>" "'>'n
\"public void mouseEntered(MouseEvent e) \"" "(if jde-gen-k&r " "()"
"'>'n)" "\"{\"'>'n" "\"}\" '>" "'>'n \"public void
mouseExited(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "\"}\"'>" "'>'n \"public void mousePressed(MouseEvent e) \""
"(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\" '>" "'>'n \"public
void mouseReleased(MouseEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "\"}\"'>" "'>'n \"});\"'>'n'>")
 jde-run-option-application-args nil
 jde-bug-vm-executable '("javaw")
 jde-db-set-initial-breakpoint t
 jde-auto-sort-imports nil
 jde-bug-debugger-command-timeout 10
 jde-db-option-stack-size '((128 . "kilobytes") (400 . "kilobytes"))
 jde-db-option-properties nil
 jde-db-source-directories '("./")
 jde-run-read-app-args nil
 jde-gen-to-string-method-template '("(end-of-line) '&"
                             "\"public String toString() \""
                             "(if jde-gen-k&r " "()" "'>'n)"
                             "\"{\"'>'n" "\"}\"'>'n'>")
 jde-quote-classpath t
 jde-bug-window-message nil
 jde-build-use-make nil
 jde-javadoc-author-tag-template '("* @author <a href=\"mailto:"
                           user-mail-address "\">" user-full-name
                           "</a>")
 jde-javadoc-describe-field-template '("* Describe "
                               (jde-javadoc-field-type modifiers) " "
                               (jde-javadoc-code name) " here.")
 jde-javadoc-gen-link-URL nil
 jde-compile-option-classpath nil
 jde-bug-jdk-directory "e:/jdk1.3/"
 jde-gen-boilerplate-function 'jde-gen-create-buffer-boilerplate
 jde-gen-entity-bean-template '("(jde-wiz-insert-imports-into-buffer
(list \"javax.ejb.*\"\n\"java.rmi.RemoteException\"))" "'> \"public void
ejbActivate() throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbPassivate() throws
RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n"
"\"}\"'>'n '>'n" "'> \"public void ejbLoad() throws RemoteException \""
"(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'>
\"public void ejbStore() throws RemoteException \"" "(if jde-gen-k&r "
"()" "'>'n)" "\"{\"'>'n" "\"}\"'>'n '>'n" "'> \"public void ejbRemove()
throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n"
"\"}\"'>'n '>'n" "'> \"public void setEntityContext(EntityContext ctx)
throws RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n"
"\"}\"'>'n '>'n" "'> \"public void unsetEntityContext() throws
RemoteException \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n"
"\"}\"'>'n '>'n'>")
 jde-javadoc-describe-constructor-template '("* Creates a new "
                                   (jde-javadoc-code name)
                                   " instance.")
 jde-bug-server-shmem-name '(t . "JDEbug")
 jde-db-startup-commands nil
 jde-javadoc-gen-docletpath nil
 jde-javadoc-gen-split-index nil
 jde-compile-option-deprecation nil
 jde-which-method-mode t
 jde-gen-k&r t
 jde-javadoc-gen-bottom ""
 jde-javadoc-gen-footer ""
 jde-db-option-classpath nil
 jde-gen-cflow-for '("(if (jde-parse-comment-or-quoted-p)" "'(l
\"for\")"
                 "'(l '> \"for (\" (p \"for-clause: \" clause) \") \""
                 "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n"
                 "\"} // end of for (\" (s clause) \")\"'>'n'>)" ")")
 jde-run-mode-hook nil
 jde-db-option-verify '(nil t)
 jde-compile-option-extdirs nil
 jde-imenu-sort nil
 jde-gen-get-set-var-template '("(end-of-line) '&"
                        "(P \"Variable type: \" type) \" \""
                        "(P \"Variable name: \" name) \";\" '>'n '>'n"
"\"/**\" '>'n" "\"* Get the value of \" (s name) \".\" '>'n" "\"*
@return value of \" (s name) \".\" '>'n" "\"*/\" '>'n" "'>'\"public \"
(s type)" "(if (string= \"boolean\" (jde-gen-lookup-named 'type) ) " "\"
is\" " "\" get\" ) " "(jde-gen-init-cap (jde-gen-lookup-named 'name))"
"\"() \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n" "\"return \" (s
name) \";\" '>'n \"}\"" "'>'n '>'n" "\"/**\" '>'n" "\"* Set the value of
\" (s name) \".\" '>'n" "\"* @param v  Value to assign to \" (s name)
\".\" '>'n" "\"*/\" '>'n" "'>'\"public void set\" (jde-gen-init-cap
(jde-gen-lookup-named 'name))" "\"(\" (s type) \"  v) \" " "(if
jde-gen-k&r " "()" "'>'n)" "\"{\" '>'n" "'>'\"this.\" (s name) \" = v;\"
'>'n \"}\" '>'n'>")
 jde-bug-saved-breakpoints nil
 jde-compile-option-sourcepath nil
 jde-gen-cflow-if '("(if (jde-parse-comment-or-quoted-p)" "'(l \"if\")"
                "'(l '> \"if (\" (p \"if-clause: \" clause) \") \""
                "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n"
                "\"} // end of if (\" (s clause) \")\"'>'n'>)" ")")
 jde-db-option-java-profile '(nil . "./java.prof")
 jde-javadoc-gen-author t
 jde-compile-option-depend-switch '("-Xdepend")
 jde-setnu-mode-enable nil
 jde-run-applet-doc ""
 jde-compile-option-vm-args nil
 jde-javadoc-gen-overview ""
 jde-javadoc-gen-notree nil
 jde-run-option-garbage-collection '(t t)
 jde-db-mode-hook nil
 jde-javadoc-command-path "javadoc"
 jde-db-option-heap-profile '(nil "./java.hprof" 5 20 "Allocation
objects")
 bsh-eval-timeout 20
 jde-db-read-vm-args nil
 jde-bug-debug nil
 jde-javadoc-end-block-template nil
 jde-javadoc-gen-packages nil
 jde-gen-cflow-if-else '("(if (jde-parse-comment-or-quoted-p)" "'(l
\"ife\")"
                   "'(l '> \"if (\" (p \"if-clause: \" clause) \") \""
                   "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n"
                   "\"} // end of if (\" (s clause) \")\"'> n"
                   "'> \"else \"" "(if jde-gen-k&r " "()" "'>'n)"
                   "\"{\"'>'n'>'r'n"
                   "\"} // end of if (\" (s clause) \")else\"'>'n'>)"
                   ")")
 jde-gen-cflow-while '("(if (jde-parse-comment-or-quoted-p)" "'(l
\"while\")"
                   "'(l '> \"while (\" (p \"while-clause: \" clause) \")
\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'>'r'n" "\"} // end of
while (\" (s clause) \")\"'>'n'>)" ")")
 jde-bug-server-socket '(t . "2112")
 jde-imenu-include-modifiers nil
 jde-appletviewer-option-encoding ""
 jde-bug-breakpoint-cursor-colors '("cyan" . "brown")
 jde-compile-option-target '("1.1")
 jde-run-executable ""
 jde-run-option-heap-size '((1 . "megabytes") (16 . "megabytes"))
 jde-gen-cflow-switch '("(if (jde-parse-comment-or-quoted-p)"
                  "'(l \"switch\")"
                  "'(l '> \"switch (\" (p \"switch-condition: \" clause)
\") \"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n'" "\"case \" (p
\"first value: \") \":\"'>'n'>'p'n" "\"break;\"'>'n'>'p'n"
"\"default:\"'>'n'>'p'n" "\"break;\"'>'n" "\"} // end of switch (\" (s
clause) \")\"'>'n'>)" ")")
 jde-which-method-abbrev-symbol "~"
 jde-db-option-vm-args nil
 jde-run-application-class ""
 jde-javadoc-gen-doclet ""
 jde-run-option-verbose '(nil nil nil)
 jde-project-file-name "prj.el"
 jde-wiz-import-excluded-packages '("bsh.*")
 jde-compile-option-debug '("selected" (t nil nil))
 jde-bug-jre-home ""
 jde-run-applet-viewer ""
 jde-javadoc-return-tag-template '("* @return " (jde-javadoc-a type) " "
                           (jde-javadoc-code type) " value")
 jde-javadoc-gen-version t
 jde-javadoc-gen-helpfile ""
 jde-run-read-vm-args nil
 jde-help-docsets nil
 jde-gen-inner-class-template '("(end-of-line) '& \"class \" (P \"Class
name: \" class)" "(P \"Superclass: \" super t)" "(let ((parent
(jde-gen-lookup-named 'super)))" "(if (not (string= parent \"\"))"
"(concat \" extends \" parent ))) " "(if jde-gen-k&r " "()" "'>'n)"
"\"{\" '>'n" "\"public \" (s class) \"() \"" "(if jde-gen-k&r " "()"
"'>'n)" "\"{\"'>'n" "\"}\"'>'n" "\"}\" '>'n'>")
 jde-auto-parse-buffer-interval 180
 jde-run-option-verify '(nil t)
 jde-compile-option-optimize nil
 jde-gen-cflow-case '("(if (jde-parse-comment-or-quoted-p)" "'(l
\"case\")"
                  "'(l 'n \"case \" (p \"value: \") \":\"'>'n'>'p'n"
                  "\"break;\"'>'n'>'p)" ")")
 jde-compile-option-depend nil
 jde-javadoc-describe-class-template '("* Describe class "
                               (jde-javadoc-code name) " here.")
 jde-javadoc-gen-serialwarn nil
 jde-gen-action-listener-template '("'& (P \"Component name: \")"
                            "\".addActionListener(new ActionListener()
\"" "(if jde-gen-k&r " "()" "'>'n)" "\"{\"'>'n" "\"public void
actionPerformed(ActionEvent e) \"" "(if jde-gen-k&r " "()" "'>'n)"
"\"{\"'>'n" "\"}\"'>'n \"});\"'>'n'>")
 jde-auto-parse-enable t
 jde-compile-option-command-line-args "-g"
 jde-gen-buffer-templates '(("Class" . jde-gen-class)
                      ("Console" . jde-gen-console)
                      ("Swing App" . jde-gen-jfc-app))
 jde-project-context-switching-enabled-p t
 jde-javadoc-gen-args nil
 jde-run-option-stack-size '((128 . "kilobytes") (400 . "kilobytes"))
 jde-run-option-properties nil
 )



The contents of the *JDEBug* buffer were

cd c:/chuck/src/
javaw -classpath
c:/chuck/elisp/jde-2.2.6beta3/java/src;c:/chuck/elisp/jde-2.2.6beta3/jav
a/lib/jde.jar;c:/programs/jdk1.2.2/jpda/lib/jpda.jar jde.debugger.Main


(jde-dbo-init-debug-session)

JDE> -1 1 launch 1 -vmexec javaw   Test  


(jde-dbo-message
1 "Launched VM Java Debug Interface (Reference Implementation) version
1.0 
Java Debug Wire Protocol (Reference Implementation) version 1.0
JVM Debug Interface version 1.0
JVM version 1.2.2 (Classic VM, build JDK-1.2.2_005, native threads,
nojit)")


(jde-dbo-message 1 "initSIOConnect: starting standard I/O handshake.")


(jde-dbo-message 1 "initSIOConnect: starting SIO connect thread.")


(jde-dbo-command-result 1 1303)


(jde-dbo-message
1 "Debugger waiting for Emacs to connect to app SIO port 1303.")


(jde-dbo-event-set
1 "all"
(list "Thread" 1 "main" "waiting" "suspended by debugger"
(list)
(list)
nil)
(list 'jde-dbo-vm-start-event))

JDE> 1 2 break absolute Test.java 4


(jde-dbo-message 1 "Debugger connected to standard I/O socket.")


(jde-dbo-command-result 2 0)

JDE> 1 3 run


(jde-dbo-command-result 3)


(jde-dbo-spec-resolved 1 0)


(jde-dbo-event-set
1 "all"
(list "Thread" 1 "main" "runnable" "suspended at breakpoint"
(list
(list 0 "Test" "Test.java" 4 "main"))
(list)
nil)
(list 'jde-dbo-breakpoint-hit-event 0
(list "Test" "Test.java" 4) nil nil))

JDE> 1 4 get_locals 1 0


(jde-dbo-command-result
4 (list 
(cons (list "i" "int") (list "int" "0"))
(cons (list "args" "java.lang.String[]") (list "java.lang.String[]" 209
nil))))

JDE> 1 5 get_this 1 0


(jde-dbo-command-result 5 (list "null"))

JDE> 1 6 get_thread 1


(jde-dbo-command-result
6 (list "Thread" 1 "main" "runnable" "suspended at breakpoint"
(list
(list 0 "Test" "Test.java" 4 "main"))
(list)
nil))

JDE> 1 7 clear 0


(jde-dbo-command-result 7)

JDE> 1 8 run


(jde-dbo-command-result 8)


(jde-dbo-event-set 1 "none" nil
(list 'jde-dbo-vm-death-event))


(jde-dbo-message 1 "Closed transport for application's standard
output.")


(jde-dbo-message 1 "Closed transport for application's standard error
output.")


(jde-dbo-event-set 1 "none" nil
(list 'jde-dbo-vm-disconnected-event))




End Insert *JDEbug* buffer


The contents of the CLI buffer are

0
1
2
3
4



End Insert CLI buffer


The contents of the locals buffer are

[-]-\ int i
    `--- 0
[+]-- java.lang.String[] args



End Insert locals buffer


There was no *Backtrace* buffer


The contents of the *Messages* buffer were

(c:\programs\emacs-20.7\bin\emacs.exe)
Loading cus-face...
Loading cus-face...done
Loading timer...
Loading timer...done
Loading regexp-opt...
Loading regexp-opt...done
Loading backquote...
Loading backquote...done
Loading wid-browse...
Loading wid-browse...done
Loading cl-macs...
Loading cl-macs...done
Bootstrapping objects...
Bootstrapping objects...done
Loading cl-extra...
Loading cl-extra...done
Loading env...
Loading env...done
Loading ps-print...
Loading ps-print...done
Loading cl-seq...
Loading cl-seq...done
For information about the GNU Project and its goals, type C-h C-p.
Setting JDE variables to startup values...
Fontifying Test.java...
Fontifying Test.java...
(regexps.........................................)
Setting JDE variables to startup values...
Fill column set to 78 (was 70)
Fontifying *scratch*...
Fontifying *scratch*... (regexps............)
Fill column set to 78 (was 70)
Preparing problem report...
Loading sendmail...
Loading sendmail...done
Formatting bug report buffer...
Formatting bug report
buffer..................................................................
..............
Mark set [4 times]



End Insert *Messages* buffer


Process environment: 

EMACSDOC=c:/programs/emacs-20.7/etc
EMACSLOCKDIR=c:/programs/emacs-20.7/lock
EMACSPATH=c:/programs/emacs-20.7/bin
EMACSDATA=c:/programs/emacs-20.7/etc
EMACSLOADPATH=c:/programs/emacs-20.7/site-lisp;c:/programs/emacs-20.7/li
sp;c:/programs/emacs-20.7/leim
emacs_dir=c:/programs/emacs-20.7
TMPDIR=C:\TEMP
_=/programs/emacs-20.7/bin/emacs
WINDIR=C:\WINNT
USERPROFILE=C:\WINNT\Profiles\cirvine
USERNAME=cirvine
USERDOMAIN=SPRINTWEST
USER=cirvine
TERM=cygwin
TEMP=C:\TEMP
SYSTEMROOT=C:\WINNT
SYSTEMDRIVE=C:
SHLVL=1
SHELL=bash
PWD=/Chuck
PS1=\w\n> 
PROMPT=$P$G
PROCESSOR_REVISION=0703
PROCESSOR_LEVEL=6
PROCESSOR_IDENTIFIER=x86 Family 6 Model 7 Stepping 3, GenuineIntel
PROCESSOR_ARCHITECTURE=x86
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PATH=c:\programs\emacs-20.7\bin;c:\cygwin\bin;c:\cygwin\usr\local\bin;c:
\programs\jdk1.2.2\bin;c:\programs\jdk1.2.2\jpda\bin;c:\programs\jdk1.2.
2\jre\bin;c:\chuck\cvshome\setstools\cygbin;c:\chuck\cvshome\setstools\b
in
OSTYPE=cygwin
OS=Windows_NT
OS2LIBPATH=C:\WINNT\system32\os2\dll;
OPENNT_ROOT=//C/Interix/
OLDPWD=/usr/bin
NUMBER_OF_PROCESSORS=1
MAKE_MODE=unix
MAKEROOT=c:/Chuck/cvshome/cm
MACHTYPE=i586-pc-cygwin
LOGONSERVER=\\KCWBDCP01
LANG=en_us
IVJ_DBG_LANG=CPP
IVJ_DBG_IOCRESFILE=IVJZUR20
INTERIX_ROOT=//C/Interix/
IMNINSTSRV=C:\IMNnq_NT
IMNINST=help
HOSTTYPE=i586
HOSTNAME=SPR97186
HOMEPATH=\
HOMEDRIVE=C:
HOME=c:\chuck
CVSROOT=:pserver:[EMAIL PROTECTED]:/cm/cvsroot
COMSPEC=C:\WINNT\system32\cmd.exe
COMPUTERNAME=SPR97186


The contents of the .emacs file was


;; misc customizations
(custom-set-variables
 '(jde-compile-option-command-line-args "-g")
 '(c-basic-offset 2)
 '(default-frame-alist (quote ((menu-bar-lines . 1) (background-color .
"black") (foreground-color . "burlywood") (font . "-*-Courier
New-normal-r-*-*-12-112-96-96-c-*-iso8859-1") (width . 79) (height .
52))))
 '(show-paren-mode t nil (paren))
 '(jde-db-source-directories (quote (".")))
 '(jde-db-debugger (quote ("JDEbug" "" . "Executable")))
 '(frame-background-mode (quote dark))
 '(jde-bug-jpda-directory "c:/programs/jdk1.2.2/jpda")
 '(jde-bug-breakpoint-marker-colors (quote ("white" . "dim gray"))))
(custom-set-faces
 '(font-lock-comment-face ((((class color) (background dark))
(:foreground "MistyRose3"))))
 '(info-xref ((t (:bold t :foreground "green"))))
 '(underline ((t (:underline t :foreground "green"))))
 '(info-node ((t (:bold t :italic t :foreground "green"))))
 '(show-paren-match-face ((((class color)) (:bold nil :foreground
"white" :background "slate gray"))))
 '(font-lock-variable-name-face ((((class color) (background dark))
(:foreground "plum"))))
 '(font-lock-function-name-face ((((class color) (background dark))
(:foreground "yellow"))))
 '(bold ((t (:bold t :foreground "green")))))

;; Add JDE and related packages
(add-to-list 'load-path (expand-file-name "~/elisp/ilisp-5.9.4"))
(add-to-list 'load-path (expand-file-name
"~/elisp/jde-2.2.6beta3/lisp"))
(add-to-list 'load-path (expand-file-name "~/elisp/semantic-1.3.1"))
(add-to-list 'load-path (expand-file-name "~/elisp/elib-1.0"))
(add-to-list 'load-path (expand-file-name "~/elisp/speedbar-0.13a"))
(add-to-list 'load-path (expand-file-name "~/elisp/pcl-cvs"))
(add-to-list 'load-path (expand-file-name "~/elisp"))

;;; make a new frame and delete the first one to get around
;;; color bug
(setq first-frame (car (frame-list)))
(make-frame)
(delete-frame first-frame)

;;; load JDE - Java Development Environment
(require 'jde)

;;(require 'cookie)

;;; get fancy minibuffer completions, e.g. fi-fi --> find-file
(require 'completer)

;;; Mode hook for JDE mode
(defun my-jde-mode-hook ()
  ;; Cause automatic filling (line breaking) in JDE buffer. Especially
  ;; nice for typing in multi-line commments (like this one!).
  (auto-fill-mode 1)
  (set-fill-column 78))
(add-hook 'jde-mode-hook 'my-jde-mode-hook)

(defun restart-debugger ()
  (interactive)
  (unwind-protect
      (progn (jde-bug-exit)
           (jde-bug-remove-dead-processes)
           (sit-for 2))
    (delete-other-windows)
    (sit-for 2)
    (jde-bug-debug-app)))

(defun exit-debugger ()
  (interactive)
  (unwind-protect
      (progn (jde-bug-exit)
           (jde-bug-remove-dead-processes)
           (sit-for 2))
    (delete-other-windows)
    (sit-for 2)))

(setq c-default-style '((jde-mode . "user") (other . "user")))
(setq c-basic-offset 2)

;;; configure for bash to be the default shell
(setq shell-file-name "bash") 
(setenv "SHELL" shell-file-name)  
(setq explicit-shell-file-name shell-file-name)  
;; 
;; This removes unsightly ^M characters that would otherwise 
;; appear in the output of java applications. 
;; 
(add-hook 'comint-output-filter-functions 
        'comint-strip-ctrl-m) 

(defun my-list-buffers ()
  (interactive)
  (list-buffers)
  (select-window (get-buffer-window "*Buffer List*")))
 
;;; command key defitions
(global-set-key [C-return] 'dabbrev-expand)
(global-set-key [(control x)(control b)] 'my-list-buffers)
(global-set-key "\C-xp" 'other-frame)

;; CVS configuration
(require 'vc-hooks)

;; Plain Printing (Kludge)
(setq lpr-command "c:/winnt/notepad.exe")
(setq lpr-switches nil)            ; \ mis-use these
(setq lpr-headers-switches '("/p")) ; / two variables
(setq printer-name nil)
 
;; Postscript Printing - following assumes that you have ghostscript
installed.
;; This is useful for printing out source code nicely formatted with
line numbers.
(setenv "GS_LIB" "c:\\programs\\aladdin\\gs6.01"
      "c:\\programs\\aladdin\\fonts") 
(setq ps-lpr-command "c:/programs/aladdin/gs6.01/bin/gswin32c")
(setq ps-lpr-switches '("-q" "-dNOPAUSE" "-dBATCH" "-sDEVICE=mswinpr2"))

(setq ps-printer-name t)
(setq ps-paper-type 'letter)        ;; paper size
;(setq ps-font-size 5.5)        ;; small font
;(setq ps-header-font-size 8)
;(setq ps-header-title-font-size 12)
 
;; Formatting for ps printing
;(setq ps-landscape-mode t)      ;; print in landscape
;(setq ps-number-of-columns 2)  ;; two columns
;(setq ps-landscape-mode nil)      ;; print in landscape
;(setq ps-number-of-columns 1)  ;; two columns
(setq ps-print-header t)
(setq ps-print-only-one-header nil)
 
;; Margins for ps printing
;; Leave them commented out at present, because these values are the
default.
;(setq ps-left-margin 20)
;(setq ps-right-margin 20)
;(setq ps-inter-column 12)
;(setq ps-top-margin 60)
;(setq ps-header-offset 16)
;(setq ps-bottom-margin 20)
 
;; font changes for ps printing:
(ps-extend-face
 '(font-lock-comment-face nil nil italic) 'MERGE)
(ps-extend-face '(font-lock-string-face  nil nil outline)    'MERGE) 
(ps-extend-face '(font-lock-keyword-face      nil nil bold)
'MERGE) 
(ps-extend-face '(font-lock-type-face          nil nil bold)
'MERGE) 
(ps-extend-face '(font-lock-function-name-face nil nil bold)
'MERGE) 
(ps-extend-face '(font-lock-warning-face      nil nil box bold)
'MERGE) 
(ps-extend-face '(font-lock-builtin-face      nil nil bold)
'MERGE) 
(ps-extend-face '(font-lock-variable-name-face nil nil bold)
'MERGE) 
(ps-extend-face '(font-lock-constant-face      nil nil bold italic)
'MERGE) 



=====end inserted .emacs file

Test.java

Reply via email to