Help to find a Java Text Editor PLEASE

HELP! I am in need of a program that will compile, execute and have an "autocomplete" sort of thing to help me with learning java. If there are any programs out there sort of like how Visual Basic in Visual Studio 2003-2005. But I need a program specifically for Java because I am learning. Please Reply as soon as possible. Thanks.

Yes, that's what I meant.
When I first started programming in Java (I already had exp with C/C++ and command line tools), I was looking for a IDE that had lots of features, two of which were Drag-an-Drop GUI editing and visual debugging. I admit it, I suffer from the Visual Studio way of doing things.
I downloaded Eclipse and Netbeans and tried both. Eclipse was faster loading but seemed spartan with its features. I also didn't quite understand the way Eclipse handled projects. It was a terminology thing really. Also, I was not familiar with all the various subproject's for eclipse and lacked time to figure it out.
I then tried Netbeans which loads slower but had everything I wanted in an IDE. Also calling projects 'projects', was easier for me to wrap my head around. That was in version 4 days. Since then, Netbeans has added alot of add on modules and features that are truly impressive for a free IDE. There are third party modules available on the web and adding them to the IDE is usually a 2 or 3 click process... Easy.
I haven't checked out Eclipse lately but I'm sure they are also doing things to improve their IDE as well. Competition between the two is a good thing, it just benefits the community as a whole.
(*gets off his soapbox*)
JJ

Similar Messages

  • Best Java Text Editor

    Which is the best java text editor? I am using Forte for Java but was told JBuilder is better.
    Also does anyone know how to change the view in the Forte program. Ive got seperate windows everywhere.

    I am not using Forte, so I can't answer your second question. As for the first, search the forum, please. That has been asked and answered frequently. The are quite a few tools out there that people like to use and every single one has it's advantages and drawbacks. I would never say that one tool is the best there is, but that I like it the most. An editor that one person finds useful and is comfortable with, is often disliked by someone else... I myself do not like JBuilder, for example. I'd say, try out a few and decide whatyou like the most.

  • Java text editor usb

    Hi i am a java student and i dont really know where this question but my question is
    Is there a java text editor and java programs compiler for a usb drive?

    It is possible, though a bit of a hack. You can install the JDK on your computer at home and copy the directory to your USB drive. When you want to use it at school, simply add the bin directory of the JDK to the system path and you can use the commandline to compile and run your applications.

  • Macintosh Java text Editors

    I have been looking for a good macintosh Java text editor for my newphew. His high school is primary macintosh (Mac OS X) workstation based, therefore in order to code/learn Java, he understands that he can use a simple text editor.
    Is there a good text editor for the macintosh? Maybe a comparison is BBEdit for web site development, something with that power.
    Or is there a better simple editor in the terminal he can use?
    Thank you for reading this post.

    You can use TextEdit in plain text mode, or you can go to http://developer.apple.com/ and get Apple's free Project Builder IDE of OS X10.2, which works OK most the time as a text editor with syntax highlighting, but I've found tends to fall over when you try to debug; I've just ordered OS X 10.3 which comes with XCode, which looks prettier, and may even work.
    For the one or two class examples I post here, I use project builder as a text editor, and compile from the terminal. For larger projects, I use project builder but have to be disciplined about saving regularly.
    I've also used J (http://sourceforge.net/projects/armedbear-j/), though mainly under linux on a slow laptop, which is quite fast and lightweight, and being Java portable. I will go try it on the Mac forthwith.
    Pete

  • Java Text Editor

    I have created an applet editor that will enable a user to break a text file down into a series of smaller html files. This does serve a purpose that is not really important at the moment and I don't want to bore you all.
    The problem I am having is that upon clicking the open button and the 2 save buttons, the applet opens file chooser where you can select a file. The problem is that once the file is open, the applet, for some reason starts the openfile() method again. The same happens when using the the 2 saveFile() methods. Can anyone help?
    package tagger;
    import java.awt.*;
    import java.applet.*;
    import javax.swing.JComboBox;
    import javax.swing.JPanel;
    import javax.swing.JButton;
    import javax.swing.text.Document;
    import javax.swing.JTextArea;
    import javax.swing.JTextField;
    import javax.swing.JScrollPane;
    import javax.swing.SwingConstants;
    import javax.swing.JLabel;
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.net.*;
    import java.net.URL;
    import java.io.IOException;
    import java.io.DataInputStream;
    import javax.swing.filechooser.FileFilter;
    * <p>Title: Cheshire Parish Register Database Note Tagging System</p>
    * <p>Description: An online Text Editor and Note Creation Tool for use with
    * CPRDB</p>
    * <p>Copyright: </p>
    * <p>Company: The University Of Liverpool</p>
    * @author Mike Melling
    * @version 1.0
    public class NoteTagger extends Applet {
        public String fileName = null;
        boolean isStandalone = false;
        BorderLayout borderLayout1 = new BorderLayout();
        JPanel jPanel1 = new JPanel();
        BorderLayout borderLayout2 = new BorderLayout();
        JPanel jPanel2 = new JPanel();
        JPanel jPanel3 = new JPanel();
        JPanel jPanel4 = new JPanel();
        JPanel jPanel5 = new JPanel();
        JPanel jPanel6 = new JPanel();
        BorderLayout borderLayout3 = new BorderLayout();
        BorderLayout borderLayout4 = new BorderLayout();
        BorderLayout borderLayout6 = new BorderLayout();
        BorderLayout borderLayout7 = new BorderLayout();
        JScrollPane jScrollPane1 = new JScrollPane();
        JTextArea jTextArea1 = new JTextArea();
        JScrollPane jScrollPane2 = new JScrollPane();
        JTextArea jTextArea4 = new JTextArea();
        BorderLayout borderLayout8 = new BorderLayout();
        JPanel jPanel7 = new JPanel();
        JPanel jPanel8 = new JPanel();
        JPanel jPanel9 = new JPanel();
        JPanel jPanel10 = new JPanel();
        JPanel jPanel11 = new JPanel();
        JPanel jPanel13 = new JPanel();
        JPanel jPanel14 = new JPanel();
        BorderLayout borderLayout9 = new BorderLayout();
        JPanel jPanel15 = new JPanel();
        JPanel jPanel16 = new JPanel();
        JPanel jPanel17 = new JPanel();
        JPanel jPanel18 = new JPanel();
        JPanel jPanel19 = new JPanel();
        BorderLayout borderLayout10 = new BorderLayout();
        JButton jButton2 = new JButton();
        JButton jButton1 = new JButton();
        JPanel jPanel22 = new JPanel();
        BorderLayout borderLayout12 = new BorderLayout();
        JScrollPane jScrollPane5 = new JScrollPane();
        JTextArea jTextArea3 = new JTextArea();
        JLabel jLabel1 = new JLabel();
        BorderLayout borderLayout13 = new BorderLayout();
        BorderLayout borderLayout14 = new BorderLayout();
        FlowLayout flowLayout1 = new FlowLayout();
        BorderLayout borderLayout15 = new BorderLayout();
        JPanel jPanel27 = new JPanel();
        Document document1 = jTextArea1.getDocument();
        Document document2 = jTextArea3.getDocument();
        JFileChooser jFileChooser1 = new JFileChooser();
        String currFileName = null; // Full path and filename. null means new/untitled.
        JPanel jPanel20 = new JPanel();
        java.awt.BorderLayout borderLayout16 = new BorderLayout();
        JPanel jPanel24 = new JPanel();
        JTextField jTextField1 = new JTextField();
        JPanel jPanel25 = new JPanel();
        java.awt.BorderLayout borderLayout18 = new BorderLayout();
        JTextField jTextField2 = new JTextField();
        JPanel jPanel26 = new JPanel();
        JPanel jPanel12 = new JPanel();
        JPanel jPanel21 = new JPanel();
        JPanel jPanel23 = new JPanel();
        JPanel jPanel28 = new JPanel();
        java.awt.BorderLayout borderLayout5 = new BorderLayout();
        JButton jButton6 = new JButton();
        JButton jButton7 = new JButton();
        JFileChooser jFileChooser2 = new JFileChooser();
        String currFileName2 = null; //Full path and filename. null means new/untitled
        JButton jButton3 = new JButton();
        public String getParameter(String key, String def) {
            return isStandalone ? System.getProperty(key, def) :
                    (getParameter(key) != null ? getParameter(key) : def);
        //Construct the applet
        public NoteTagger() {
            try {
                jbInit();
            } catch (Exception ex) {
                ex.printStackTrace();
        //Initialize the applet
        public void init() {
            try {
                jbInit();
            } catch (Exception e) {
                e.printStackTrace();
        //Component initialization
        private void jbInit() throws Exception {
            jPanel1.setLayout(borderLayout2);
            jPanel5.setLayout(borderLayout3);
            jPanel2.setLayout(borderLayout13);
            jPanel6.setLayout(borderLayout14);
            jPanel3.setLayout(borderLayout6);
            jPanel4.setLayout(borderLayout7);
            jTextArea1.setLineWrap(true);
            jPanel3.setPreferredSize(new Dimension(700, 100));
            jPanel4.setBackground(Color.lightGray);
            jPanel4.setPreferredSize(new Dimension(700, 50));
            jTextArea4.setPreferredSize(new Dimension(700, 100));
            jTextArea4.setEditable(false);
            jTextArea4.setText("");
            jScrollPane2.setVerticalScrollBarPolicy(JScrollPane.
                                                    VERTICAL_SCROLLBAR_ALWAYS);
            jScrollPane2.setPreferredSize(new Dimension(700, 100));
            this.setLayout(borderLayout8);
            jPanel2.setBackground(Color.lightGray);
            jPanel2.setPreferredSize(new Dimension(700, 850));
            jPanel7.setBackground(Color.lightGray);
            jPanel8.setBackground(Color.lightGray);
            jPanel9.setBackground(Color.lightGray);
            jPanel10.setBackground(Color.lightGray);
            jPanel11.setBackground(Color.lightGray);
            jScrollPane1.setVerticalScrollBarPolicy(JScrollPane.
                                                    VERTICAL_SCROLLBAR_ALWAYS);
            jScrollPane1.setMinimumSize(new Dimension(300, 470));
            jScrollPane1.setPreferredSize(new Dimension(470, 470));
            jPanel13.setBackground(Color.lightGray);
            jPanel14.setBackground(Color.lightGray);
            jPanel14.setLayout(borderLayout9);
            jPanel15.setBackground(Color.lightGray);
            jPanel15.setLayout(borderLayout10);
            jPanel16.setBackground(Color.lightGray);
            jPanel16.setPreferredSize(new Dimension(10, 7));
            jPanel19.setBackground(Color.lightGray);
            jPanel18.setBackground(Color.lightGray);
            jPanel18.setPreferredSize(new Dimension(280, 33));
            jPanel18.setLayout(flowLayout1);
            jPanel17.setBackground(Color.lightGray);
            jButton2.setBackground(Color.lightGray);
            jButton2.setPreferredSize(new Dimension(83, 23));
            jButton2.setHorizontalAlignment(SwingConstants.CENTER);
            jButton2.setHorizontalTextPosition(SwingConstants.CENTER);
            jButton2.setText("Open");
            jButton2.addActionListener(new NoteTagger_jButton2_actionAdapter(this));
            jPanel5.setPreferredSize(new Dimension(500, 560));
            jPanel6.setBackground(Color.lightGray);
            jPanel6.setMinimumSize(new Dimension(217, 550));
            jPanel6.setPreferredSize(new Dimension(500, 560));
            jPanel22.setBackground(Color.lightGray);
            jPanel22.setLayout(borderLayout15);
            jScrollPane5.setHorizontalScrollBarPolicy(JScrollPane.
                                                      HORIZONTAL_SCROLLBAR_AS_NEEDED);
            jScrollPane5.setVerticalScrollBarPolicy(JScrollPane.
                                                    VERTICAL_SCROLLBAR_ALWAYS);
            jScrollPane5.setMaximumSize(new Dimension(32767, 245));
            jScrollPane5.setMinimumSize(new Dimension(300, 470));
            jScrollPane5.setPreferredSize(new Dimension(300, 470));
            jLabel1.setFont(new java.awt.Font("Dialog", Font.PLAIN, 20));
            jLabel1.setToolTipText("");
            jLabel1.setHorizontalAlignment(SwingConstants.CENTER);
            jLabel1.setHorizontalTextPosition(SwingConstants.CENTER);
            jLabel1.setText("Cheshire Parish Register Database Note Tagging System");
            jPanel27.setBackground(Color.lightGray);
            jTextArea3.setMaximumSize(new Dimension(2147483647, 2147483647));
            jTextArea1.setDocument(document1);
            jTextArea3.setMaximumSize(new Dimension(2147483647, 2147483647));
            jTextArea3.setDocument(document2);
            jButton1.setBackground(Color.lightGray);
            jButton1.setPreferredSize(new Dimension(83, 23));
            jButton1.setHorizontalAlignment(SwingConstants.CENTER);
            jButton1.setHorizontalTextPosition(SwingConstants.CENTER);
            jButton1.setText("Save");
            jButton1.addActionListener(new NoteTagger_jButton1_actionAdapter(this));
            jButton1.setEnabled(false);
            this.setBackground(Color.lightGray);
            jPanel1.setBorder(BorderFactory.createRaisedBevelBorder());
            jPanel1.setPreferredSize(new Dimension(1000, 750));
            jPanel20.setLayout(borderLayout16);
            jTextField1.setPreferredSize(new Dimension(62, 25));
            jTextField1.setText("");
            jPanel24.setBackground(Color.lightGray);
            jPanel24.setMaximumSize(new Dimension(10, 10));
            jPanel25.setLayout(borderLayout18);
            jTextField2.setMaximumSize(new Dimension(62, 25));
            jTextField2.setPreferredSize(new Dimension(62, 25));
            jTextField2.setText("");
            jPanel26.setBackground(Color.lightGray);
            jPanel26.setMaximumSize(new Dimension(10, 10));
            jPanel25.setPreferredSize(new Dimension(470, 505));
            jPanel12.setPreferredSize(new Dimension(300, 40));
            jPanel12.setLayout(borderLayout5);
            jPanel28.setBackground(Color.lightGray);
            jPanel21.setBackground(Color.lightGray);
            jPanel23.setBackground(Color.lightGray);
            jButton6.setBackground(Color.lightGray);
            jButton6.setPreferredSize(new Dimension(83, 23));
            jButton6.setText("Save");
            jButton6.setEnabled(false);
            jButton6.addActionListener(new NoteTagger_jButton6_actionAdapter(this));
            jButton7.setBackground(Color.lightGray);
            jButton7.setPreferredSize(new Dimension(83, 23));
            jButton7.setText("Query");
            jButton7.addActionListener(new NoteTagger_jButton7_actionAdapter(this));
            jFileChooser1.addChoosableFileFilter( new FileFilter1() );
            jFileChooser1.setAcceptAllFileFilterUsed( false );
            jFileChooser1.setMultiSelectionEnabled( false );
            jFileChooser1.setSelectedFile( null );
            jFileChooser2.addChoosableFileFilter( new FileFilter2() );
            jFileChooser2.setAcceptAllFileFilterUsed( false );
            jFileChooser2.setMultiSelectionEnabled( false );
            jFileChooser2.setSelectedFile( null );
            jButton3.setMaximumSize(new Dimension(83, 23));
            jButton3.setMinimumSize(new Dimension(83, 23));
            jButton3.setPreferredSize(new Dimension(83, 23));
            jButton3.setText("New");
            jButton3.addActionListener(new NoteTagger_jButton3_actionAdapter(this));
            jPanel1.add(jPanel2, java.awt.BorderLayout.CENTER);
            jPanel1.add(jPanel3, java.awt.BorderLayout.SOUTH);
            jScrollPane2.getViewport().add(jTextArea4);
            this.add(jPanel1, java.awt.BorderLayout.CENTER);
            jPanel3.add(jScrollPane2, java.awt.BorderLayout.CENTER);
            jPanel3.add(jPanel8, java.awt.BorderLayout.SOUTH);
            jPanel3.add(jPanel9, java.awt.BorderLayout.WEST);
            jPanel3.add(jPanel10, java.awt.BorderLayout.EAST);
            jPanel3.add(jPanel11, java.awt.BorderLayout.NORTH);
            jPanel5.add(jPanel7, java.awt.BorderLayout.WEST);
            jPanel5.add(jPanel13, java.awt.BorderLayout.EAST);
            jPanel5.add(jPanel20, java.awt.BorderLayout.CENTER);
            jPanel14.add(jPanel16, java.awt.BorderLayout.SOUTH);
            jPanel14.add(jPanel15, java.awt.BorderLayout.NORTH);
            jPanel15.add(jPanel19, java.awt.BorderLayout.WEST);
            jPanel15.add(jPanel17, java.awt.BorderLayout.EAST);
            jPanel15.add(jPanel18, java.awt.BorderLayout.CENTER);
            jPanel4.add(jLabel1, java.awt.BorderLayout.CENTER);
            jPanel18.add(jButton2);
            jPanel18.add(jButton1);
            jPanel20.add(jTextField1, java.awt.BorderLayout.NORTH);
            jPanel5.add(jPanel14, java.awt.BorderLayout.NORTH);
            jScrollPane1.getViewport().add(jTextArea1);
            jPanel25.add(jScrollPane5, java.awt.BorderLayout.SOUTH);
            jPanel25.add(jTextField2, java.awt.BorderLayout.NORTH);
            jPanel25.add(jPanel26, java.awt.BorderLayout.CENTER);
            jPanel6.add(jPanel12, java.awt.BorderLayout.NORTH);
            jScrollPane5.getViewport().add(jTextArea3);
            jPanel6.add(jPanel27, java.awt.BorderLayout.EAST);
            jPanel1.add(jPanel4, java.awt.BorderLayout.NORTH);
            jPanel1.add(jPanel5, java.awt.BorderLayout.WEST);
            jPanel1.add(jPanel6, java.awt.BorderLayout.EAST);
            jPanel6.add(jPanel22, java.awt.BorderLayout.WEST);
            jPanel6.add(jPanel25, java.awt.BorderLayout.CENTER);
            jPanel12.add(jPanel28, java.awt.BorderLayout.WEST);
            jPanel21.add(jButton7);
            jPanel21.add(jButton6);
            jPanel21.add(jButton3);
            jPanel12.add(jPanel23, java.awt.BorderLayout.EAST);
            jPanel12.add(jPanel21, null);
            jPanel20.add(jPanel24, java.awt.BorderLayout.CENTER);
            jPanel20.add(jScrollPane1, java.awt.BorderLayout.SOUTH);
        //Start the applet
        public void start() {
        //Stop the applet
        public void stop() {
        //Destroy the applet
        public void destroy() {
        //Get Applet information
        public String getAppletInfo() {
            return "Applet Information";
        //Get parameter info
        public String[][] getParameterInfo() {
            return null;
        // Open named file; read text from file into jTextArea1; report to statusBar.
         void openFile(String fileName) {
             try {
                 // Open a file of the given name.
                 File file = new File(fileName);
                 // Get the size of the opened file.
                 int size = (int) file.length();
                 // Set to zero a counter for counting the number of
                 // characters that have been read from the file.
                 int chars_read = 0;
                 // Create an input reader based on the file, so we can read its data.
                 // FileReader handles international character encoding conversions.
                 FileReader in = new FileReader(file);
                 // Create a character array of the size of the file,
                 // to use as a data buffer, into which we will read
                 // the text data.
                 char[] data = new char[size];
                 // Read all available characters into the buffer.
                 while (in.ready()) {
                     // Increment the count for each character read,
                     // and accumulate them in the data buffer.
                     chars_read += in.read(data, chars_read, size - chars_read);
                 in.close();
                 // Create a temporary string containing the data,
                 // and set the string into the JTextArea.
                 jTextArea1.setText(new String(data, 0, chars_read));
                 // Cache the currently opened filename for use at save time...
                 this.currFileName = fileName;
                 jButton1.setEnabled(true);
            jTextArea4.append('\n'+"Opnened "+ currFileName);
      catch (IOException e) {
        jTextArea4.append('\n'+"Error opening "+fileName);
        // Save current file; handle not yet having a filename; report to statusBar.
    boolean saveFile() {
        // Handle the case where we don't have a file name yet.
        if (currFileName == null) {
            return saveAsFile();
        try {
        // Open a file of the current name.
        File file = new File (currFileName);
        // Create an output writer that will write to that file.
        // FileWriter handles international characters encoding conversions.
        FileWriter out = new FileWriter(file);
        String text = jTextArea1.getText();
        out.write(text);
        out.close();
        jButton1.setEnabled(false);
                return true;
      catch (IOException e) {
        jTextArea4.append('\n'+"Error saving "+ currFileName);
      return false;
        // Save current file; handle not yet having a filename; report to statusBar.
        boolean saveFile2() {
            // Handle the case where we don't have a file name yet.
        if (currFileName2 == null) {
            return saveAsFile2();
        try {
        // Open a file of the current name.
        File file = new File (currFileName2);
        // Create an output writer that will write to that file.
        // FileWriter handles international characters encoding conversions.
        FileWriter out = new FileWriter(file);
        String text = jTextArea3.getText();
        out.write(text);
        out.close();
        jButton7.setEnabled(false);
                return true;
      catch (IOException e) {
        jTextArea4.append('\n'+"Error saving "+ currFileName2);
      return false;
        // Save current file, asking user for new destination name.
    // Report to statusBar.
        boolean saveAsFile() {
          // Use the SAVE version of the dialog, test return for Approve/Cancel
          if (JFileChooser.APPROVE_OPTION == jFileChooser1.showSaveDialog(this)) {
            // Set the current file name to the user's selection,
            // then do a regular saveFile
            currFileName = jFileChooser1.getSelectedFile().getPath();
            //repaints menu after item is selected
            this.repaint();
            return saveFile();
          else {
            this.repaint();
            return false;
        // Save current file, asking user for new destination name.
    // Report to statusBar.
        boolean saveAsFile2() {
          // Use the SAVE version of the dialog, test return for Approve/Cancel
          if (JFileChooser.APPROVE_OPTION == jFileChooser2.showSaveDialog(this)) {
            // Set the current file name to the user's selection,
            // then do a regular saveFile
            currFileName2 = jFileChooser2.getSelectedFile().getPath();
            //repaints menu after item is selected
            this.repaint();
            return saveFile();
          else {
            this.repaint();
            return false;
        public void jButton1_actionPerformed(ActionEvent e) {
            saveFile();
            // Display the name of the saved directory+file in the statusBar.
            jTextArea4.append('\n'+"Saved to " + currFileName);
        public void jButton7_actionPerformed(ActionEvent e) {
            try{
                getAppletContext().showDocument(new URL("http://www.csc.liv.ac.uk/~cprdb/Live/v3.3/database.html"), "_blank" );
            catch (MalformedURLException ex)
                ex.printStackTrace();
            jButton6.setEnabled(true);
        public void jButton6_actionPerformed(ActionEvent e) {
            saveFile2();
            // Display the name of the saved directory+file in the statusBar.
            jTextArea4.append('\n'+"Saved to " + currFileName2);
        public void jButton3_actionPerformed(ActionEvent e) {
         // Handle the File|New menu item.
         // Clears the text of the text area.
         jTextArea3.setText("");
         currFileName2 = null;
         jButton6.setEnabled(true);
         jButton7.setEnabled(false);
        public void jButton2_actionPerformed(ActionEvent e) {
                // Use the OPEN version of the dialog, test return for Approve/Cancel
            if (JFileChooser.APPROVE_OPTION == jFileChooser1.showOpenDialog(this)) {
        // Call openFile to attempt to load the text from file into TextArea
                openFile(jFileChooser1.getSelectedFile().getPath());
                  this.repaint();
    class NoteTagger_jButton3_actionAdapter implements ActionListener {
        private NoteTagger adaptee;
        NoteTagger_jButton3_actionAdapter(NoteTagger adaptee) {
            this.adaptee = adaptee;
        public void actionPerformed(ActionEvent e) {
            adaptee.jButton3_actionPerformed(e);
    class NoteTagger_jButton6_actionAdapter implements ActionListener {
            private NoteTagger adaptee;
            NoteTagger_jButton6_actionAdapter(NoteTagger adaptee) {
                this.adaptee = adaptee;
            public void actionPerformed(ActionEvent e) {
                adaptee.jButton6_actionPerformed(e);
        class NoteTagger_jButton7_actionAdapter implements ActionListener {
            private NoteTagger adaptee;
            NoteTagger_jButton7_actionAdapter(NoteTagger adaptee) {
                this.adaptee = adaptee;
            public void actionPerformed(ActionEvent e) {
                adaptee.jButton7_actionPerformed(e);
    class NoteTagger_jButton2_actionAdapter implements ActionListener {
        private NoteTagger adaptee;
        NoteTagger_jButton2_actionAdapter(NoteTagger adaptee) {
            this.adaptee = adaptee;
        public void actionPerformed(ActionEvent e) {
            adaptee.jButton2_actionPerformed(e);
    class NoteTagger_jButton1_actionAdapter implements ActionListener {
        private NoteTagger adaptee;
        NoteTagger_jButton1_actionAdapter(NoteTagger adaptee) {
            this.adaptee = adaptee;
        public void actionPerformed(ActionEvent e) {
            adaptee.jButton1_actionPerformed(e);
    class FileSelectorUtils {
              public static String getExtension( File file ) {
              return getExtension( file.getName() );
                    private static String getExtension( String str ) {
              String ext = null;
              int i = str.lastIndexOf( '.' );
                  if( i > 0 && i < str.length() - 1) {
                     ext = str.substring( i + 1 ).toLowerCase();
              return ext;
              public static File ensureExtension( File file, String ext ) {
                  if( getExtension( file ) == null ) {
                      file = new File( file.getAbsolutePath() + "." + ext );
                  return file;
          class FileFilter1 extends FileFilter {
             // Valid File Extension
             public final static String txt = "txt";
                  public boolean accept( File f ) {
             // Display Directory
             if( f.isDirectory() ) { return true; }
             // Get File's Extension
             String extension = FileSelectorUtils.getExtension( f );
             // Accept Select File Extensions
             if( extension != null ) {
    if( extension.equals( FileFilter1.txt ) ) { return true; } // Accept *.ann
            // Else Deny File
            return false;
            public String getDescription() {
            return "Text Doument (*.txt)";
            class FileFilter2 extends FileFilter {
             // Valid File Extension
             public final static String html = "html";
                  public boolean accept( File f ) {
             // Display Directory
             if( f.isDirectory() ) { return true; }
             // Get File's Extension
             String extension = FileSelectorUtils.getExtension( f );
             // Accept Select File Extensions
             if( extension != null ) {
    if( extension.equals( FileFilter2.html ) ) { return true; } // Accept *.ann
            // Else Deny File
            return false;
            public String getDescription() {
            return "HTML Document (*.html)";
            }Any ideas? I could do with help ASAP if anybody has any ideas... Thanks
    Mike

    The apps listed at java-tips.org are just some of those that happen to be written in Java. If you want an editor that does syntax highlighting and other programming-specific tasks, you have dozens more options. A few Windows editors that spring to mind are EditPad, Crimson Editor, Scite, UltraEdit and Notetab. Then there are the old Unix standys, Emacs and vi, which have Windows versions as well. I use EditPad Pro, which isn't free like many of the others, but is worth the money anyway, IMO.

  • Where can I download a Java Text Editor?

    I am new to java. And want to have a text editor which can color code the program and keep it in more user friendly format.
    Where can I get such text editor from?
    Thanks

    Check out the category Java Editors at http://www.esus.com:
    http://www.esus.com/javaindex/gettingstarted/writingprograms/javaeditors/javaeditors.html
    Cheers,
    Joris

  • Any user-friendly java source editor please?

    i'm new to java programming...
    using notepad to do the source code edit...
    i tried forte for java... but seems difficult...
    anyone can recommend a user-friendly or industry
    standard editor for me?
    thanks a lot....

    You could try Jext (www.jext.org). It provides syntax highlighting for multiple languages (including java) and allows for plugins. I don't use many of the bells and whistles, but you may find some convenient. Not as powerful as forte or similar, but it is free and fairly easy to use.

  • Help me find a password protected keyguard Please

    I am looking for a keylock software for Nokia N70 that will not activate the kepad unless a password is entered, If anyone knows of such a software please help me out

    You're welcome
    Nokia History: 3110, 5110, 7110, 7110, 3510i, 6210, 6310i, 5210, 6100, 6610, 7250, 7250i, 6650, 6230, 6230i, 6260, N70, N70, 5300, N95, N95, E71, E72
    Android History: HTC Desire, SE Xperia Arc, HTC Sensation, Sensation XE, One X+, Google Nexus 5

  • Basics for a Java based text editor.

    I want to try and write a simple java text editor I can upgrade as I learn more about java. Can anyone point me in the right direction or tell me the basic layout of a text editor?

    I want to try and write a simple java text editor I
    can upgrade as I learn more about java. Can anyone
    point me in the right direction or tell me the basic
    layout of a text editor?A text editor consists of three parts. User command interaction, text screen presentation and text data handling. Start with a small Java application with a GUI and check out the different Swing components and how they work. Internally the text can be held in a double-linked list where each blocks have space for 1000 characters or so. You'll also need some file handling to store the text externally.

  • Is a text editor really better than Dreamweaver?

    Hi Everyone,
    I've been looking through several different web design forums
    and I'm now stuck with a question. Why do some people swear by
    using only a text editor to put their website together and totally
    discount programs such as Dreamweaver? I find this quite strange
    because a website amongst other things is a highly visual
    experience usually not showing a single line of code to the end
    user. I get the impression that some people feel that Dreamweaver
    is beneath them as they are "highly skilled coders" and only
    amateurs use WYSIWYGs! Is it just me or am I correct in thinking
    there is an element of snobbery here? To me it seems that
    Dreamweaver has advantages in abundance and for the so called
    hardcore coders there's even a code view which is much more
    powerful than a simple text editor. One final thing, I see that
    people complain about so called bad code that Dreamweaver writes.
    Is it true that Dreamweaver writes bad code and if so what's bad
    about it?
    Many thanks, I'll be fascinated to read your
    responses.

    Let's see entire sites, good-sized professional ones. :-)
    Patty Ayers | www.WebDevBiz.com
    Free Articles on the Business of Web Development
    Web Design Contract, Estimate Request Form, Estimate
    Worksheet
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:[email protected]...
    > Good idea, Patty. Let's see some of the "wouldn't touch
    DW with a 10-foot
    > pole" pages that have been created....
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    > ==================
    >
    >
    > "P@tty Ayers ~ACE"
    <[email protected]> wrote in message
    > news:[email protected]...
    >> This question is asked a lot. The answers are:
    >>
    >> -- No, a text editor isn't just as good. There are
    lots of extremely
    >> useful things DW does that a text editor can't do.
    >>
    >> -- No, the recent versions of Dreamweaver actually
    write very good code
    >> in general.
    >>
    >> -- In response to "only amateurs use [Dreamweaver
    instead of a text
    >> editor]" - please show me just 1 full-time
    professional web developer
    >> responsible for creating and maintaining sites who
    uses only a text
    >> editor. Just 1. You won't be able to, because there
    isn't one. Not one
    >> with a job, anyway. :-)
    >>
    >> Cheers,
    >>
    >> --
    >> Patty Ayers | www.WebDevBiz.com
    >> Free Articles on the Business of Web Development
    >> Web Design Contract, Estimate Request Form, Estimate
    Worksheet
    >> --
    >>
    >>
    >>
    >> "In at the deep end"
    <[email protected]> wrote in message
    >> news:[email protected]...
    >>> Hi Everyone,
    >>>
    >>> I've been looking through several different web
    design forums and I'm
    >>> now
    >>> stuck with a question. Why do some people swear
    by using only a text
    >>> editor to
    >>> put their website together and totally discount
    programs such as
    >>> Dreamweaver? I
    >>> find this quite strange because a website
    amongst other things is a
    >>> highly
    >>> visual experience usually not showing a single
    line of code to the end
    >>> user. I
    >>> get the impression that some people feel that
    Dreamweaver is beneath
    >>> them as
    >>> they are "highly skilled coders" and only
    amateurs use WYSIWYGs! Is it
    >>> just me
    >>> or am I correct in thinking there is an element
    of snobbery here? To me
    >>> it
    >>> seems that Dreamweaver has advantages in
    abundance and for the so called
    >>> hardcore coders there's even a code view which
    is much more powerful
    >>> than a
    >>> simple text editor. One final thing, I see that
    people complain about so
    >>> called
    >>> bad code that Dreamweaver writes. Is it true
    that Dreamweaver writes bad
    >>> code
    >>> and if so what's bad about it?
    >>>
    >>> Many thanks, I'll be fascinated to read your
    responses.
    >>>
    >>
    >

  • How to install php, perl, python, C text editor

    I want to know how to install perl, php, C , Java Text Editors in Mac OSX.
    which editor is better .

    C you installed by installing the XCode package from your installation DVD
    Perl is already installed
    PHP is already installed
    Text Editors are a Religion, as once you have trained your fingers to use a given text editor, you frequently do not want to change, so after that your editor is the only "True" editor :-)
    If you are serious about C programming in a Unix environment, then Vim or emacs.  If you are going to be doing mostly Mac OS X Objective-C, then use the XCode editor.  If this is just a hobby, then a GUI text editor such as one of the previously mentioned editors

  • Help me find my leptop

    Dear All
    I'm Steven Chu,
    My MacPro was stolen on Sep, 2011.  I try to ask Police and my friend to find out my computer. However, I get nothing up to now.
    Now, I would like to have the support from your side. I appreciate you very much for your help if sombody could help me find the IP address.
    Please check the following Mac address:
    c8:2a:14:41:c6:b4
    Maybe this is only way that we can find the IP address.
    Highly appreciate for your great help!
    With the best regards,
    Steve

    Sorry about your loss. This is a user to user forum. We are all users like yourself. This is not Apple. In any case only the police can help you with this. Unless you had a tracking software installed consider your laptop gone.

  • Cannot find standart java files in DCs. I'm confused. Please help.

    Hello SDN!
    I need to create extension which allow users attaching files to orders in order.jsp I found standart uploadform.jsp and UploadAction.java. I've create in DC crm/home/shr/ext my own action class based on UploadAction. There're some classes in my class which NWDS cannot resolve. For example, class LocaleUtil. I added import statement by hand but NWDS cannot resolve it anyway. I tried to find LocaleUtil.java via DTR but found nothing. So I don't know in which DC java file is. Now I found only LocaleUtil.class in sap.comcrmisalwcassembly.jar but I don't know how to use this jar. Also this jar contains other unresoldev classes.
    Please help me to resolve these classes.
    Regards, Lev
    Help will be appreciated.

    Hello Sateesh!
    This jar file doen't available in Libraries tab. I found them in DCs\sap.com\crm\isa\lwc\_comp\gen\default\public\assembly\lib\java (note that I haven't project sap.com/crm/isa/lwc) and try to add them in Libraries tab via button "Add external JAR". After that I try to build my DCs and get an error:
         [javac] ERROR: D:\Lev\work\workspace_dc\.dtc\2\DCs\sap.com\crm\home\shr\ext\_comp\src\packages\ru\sng\isa\isacore\action\Z_UploadFileAction.java:23: package com.sap.isa.cic.core.util does not exist
         [javac] ERROR: import com.sap.isa.cic.core.util.LocaleUtil;
         [javac] ERROR:                                  ^
         [javac] ERROR: D:\Lev\work\workspace_dc\.dtc\2\DCs\sap.com\crm\home\shr\ext\_comp\src\packages\ru\sng\isa\isacore\action\Z_UploadFileAction.java:24: package com.sap.isa.cic.customer.actionforms does not exist
         [javac] ERROR: import com.sap.isa.cic.customer.actionforms.UploadForm;
         [javac] ERROR:                                             ^
         [javac] ERROR: D:\Lev\work\workspace_dc\.dtc\2\DCs\sap.com\crm\home\shr\ext\_comp\src\packages\ru\sng\isa\isacore\action\Z_UploadFileAction.java:47: cannot resolve symbol
         [javac] ERROR: symbol  : variable LocaleUtil
         [javac] ERROR: location: class ru.sng.isa.isacore.action.Z_UploadFileAction
         [javac] ERROR:           String actualCharset = LocaleUtil.getEncoding(LocaleUtil.getSAPLang(request));
         [javac] ERROR:                                                               ^
         [javac] ERROR: D:\Lev\work\workspace_dc\.dtc\2\DCs\sap.com\crm\home\shr\ext\_comp\src\packages\ru\sng\isa\isacore\action\Z_UploadFileAction.java:47: cannot resolve symbol
         [javac] ERROR: symbol  : variable LocaleUtil
         [javac] ERROR: location: class ru.sng.isa.isacore.action.Z_UploadFileAction
         [javac] ERROR:           String actualCharset = LocaleUtil.getEncoding(LocaleUtil.getSAPLang(request));
         [javac] ERROR:                                        ^
         [javac] ERROR: D:\Lev\work\workspace_dc\.dtc\2\DCs\sap.com\crm\home\shr\ext\_comp\src\packages\ru\sng\isa\isacore\action\Z_UploadFileAction.java:52: cannot resolve symbol
         [javac] ERROR: symbol  : class UploadForm
         [javac] ERROR: location: class ru.sng.isa.isacore.action.Z_UploadFileAction
         [javac] ERROR:                FormFile file = ((UploadForm)form).getChosenFile();
         [javac] ERROR:                                           ^
         [javac] ERROR: D:\Lev\work\workspace_dc\.dtc\2\DCs\sap.com\crm\home\shr\ext\_comp\src\packages\ru\sng\isa\isacore\action\Z_UploadFileAction.java:54: cannot resolve symbol
         [javac] ERROR: symbol  : variable LocaleUtil
         [javac] ERROR: location: class ru.sng.isa.isacore.action.Z_UploadFileAction
         [javac] ERROR:                fileName = LocaleUtil.encodeString(fileName, inputCharset, actualCharset);
         [javac] ERROR:                                    ^
         [javac] ERROR: D:\Lev\work\workspace_dc\.dtc\2\DCs\sap.com\crm\home\shr\ext\_comp\src\packages\ru\sng\isa\isacore\action\Z_UploadFileAction.java:56: cannot resolve symbol
         [javac] ERROR: symbol  : variable LocaleUtil
         [javac] ERROR: location: class ru.sng.isa.isacore.action.Z_UploadFileAction
         [javac] ERROR:                contentType = LocaleUtil.encodeString(contentType, inputCharset, actualCharset);
         [javac] ERROR:                                       ^
         [javac] 7 errors
    After that this jar file disappear from Libraries tab. What I should to do?
    Regards, Lev

  • After Installing the OS x Mountain Lion some o the softwares are asking for Java SE 6 Runtime. Can someone please help me find a solution.

    After Installing the OS x Mountain Lion some o the softwares are asking for Java SE 6 Runtime. Can someone please help me find a solution.

    By default, ML no longer comes with the Java runtime preinstalled. I believe the route to enabling Java if you are going to need it is to run the Java Preferences app found in Utilities. It will inform you of Java's absence and offer to install the latest version and activate it. On subsequent runs, the Preferences app will allow you to fine tune how the runtime operates.
    Note that the new default operation is for the applet plugin to be disabled. You need to enable it as needed and it self-deactivates if unused in awhile. Also important to note that Java comes in both 32 and 64 bit versions and you can set the preferred order. Default is 64-bit but I've had issues with some applets failing to run and have had to switch the order.

  • Please help! java.text.ParseException:

    Hi everybody
    why am i gatting java.text.ParseException: Unparseable date: "Jul 21, 2002"
    String s = "yyyy MM dd";
    SimpleDateFormat ff = new SimpleDateFormat(s);
    java.util.Date mm = ff.parse( DateFormat.getDateInstance().format(new java.util.Date())) ;
    System.out.println(mm.toString()); //Exception is thrown
    thanks in advence

    I didn't take time to look through your code too closely but here is some code that might help. The pullDate method reads a string from a JTextField (textField) and tries to return a Date. If it can't format it then it returns null. It tries to format the text based on the formats listed. If it can't format the text using one then it tries the next until it runs out of them. Change the formats to whatever you like. Good luck.
    Jeff
    private static DateFormatter[] altFormats = {
         new DateFormatter(new SimpleDateFormat("M/d/yy")),
         new DateFormatter(new SimpleDateFormat("MMddyy")),
         new DateFormatter(new SimpleDateFormat("MMM d, yy")),
         new DateFormatter(new SimpleDateFormat("MMM d yy")),
         new DateFormatter(new SimpleDateFormat("d MMM yy"))};
    private Date pullDate() {
         String text = textField.getText();
         Date d = null;
         int i = 0;
         while(d==null && i<altFormats.length) {
              try {
                   d = (Date)(altFormats[i++].stringToValue(text));
              } catch (ParseException e) {}                    
         return d;

Maybe you are looking for