judo-commits Mailing List for JUDO
Brought to you by:
tdunn
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Thomas D. <td...@us...> - 2013-01-24 01:57:31
|
Update of /cvsroot/judo/v3 In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv2038 Log Message: JUDO 1.3 module Status: Vendor Tag: orgjudo Release Tags: v13 N v3/org/judo/JUDOApp.template N v3/org/judo/JUDOBase.java N v3/org/judo/JUDODeleteDialog.java N v3/org/judo/OutputGrabber.java N v3/org/judo/CompilerError.java N v3/org/judo/JUDOIDE.java N v3/org/judo/JUDOOpenDialog.java N v3/org/judo/JUDOUtils.java N v3/org/judo/JUDO_en.java N v3/org/judo/FixEnumImpl.java N v3/org/judo/JUDOProgramPropertiesDialog.java N v3/org/judo/ComparerIgnoreCase.java N v3/org/judo/JUDOMouseEvent.java N v3/org/judo/JUDOSaveDialog.java N v3/org/judo/JUDOApplet.template N v3/org/judo/JUDOHelpWindow.java N v3/org/judo/Command.java N v3/org/judo/JUDO_fr.java N v3/org/judo/JUDO_localization.java N v3/org/judo/JUDOAppletBase.java N v3/org/judo/JUDOKeyEvent.java No conflicts created by this import ***** Bogus filespec: - Imported sources |
From: Support M. A. <Sup...@12...> - 2006-03-24 14:30:04
|
<a href="http://www.blacksaltfilm.com/shop_black_salt.htm"> <center> <img src="http://www.vasistainfotech.net/b/b.gif" border="0"> <p> </p> <img src="http://www.vasistainfotech.net/b/ad.gif" width="650" height="736" border="0"> </center> </a> <center style="font-size:8pt;font-family:verdana;"><a target="_blank" href="http://www.vasistainfotech.net:8080/servlet/counter1?email=jud...@li...">If you are not interested in my services, I apologize for invading your space. <br>To unsubscribe, Click here</a></center><p> </p> |
From: Kevin L. <kl...@us...> - 2001-10-21 04:15:58
|
Update of /cvsroot/judo/v2/org/judo/ide In directory usw-pr-cvs1:/tmp/cvs-serv22765 Added Files: FileTool.java Log Message: Wrote the initial read and write methods. --- NEW FILE: FileTool.java --- /*************************************************************************** * JUDO - A Java IDE for Children and Beginning Programmers * Copyright (C) 2001 Thomas J. Dunn * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ***************************************************************************/ package org.judo.ide; import java.io.*; /** * Main file tool for the JUDO IDE. This class contains methods * for reading and writing data to a file. * * $Id: FileTool.java,v 1.1 2001/10/21 04:15:55 klew Exp $ * @author $Author: klew $ * @version $Revision: 1.1 $ */ public class FileTool { /** * read * * @param filepath - path of the file. * * Returns a string that contains the contents of a file. * The method will throw an IOException if the file cannot be read by the system. */ public static String read ( String filepath ) throws IOException { // file object File file = new File ( filepath ); // check if file is readable. if ( ! file.canRead ( ) ) throw new IOException ( "Error: System cannot open the file " + filepath ); // open the file for reading DataInputStream dataStream = new DataInputStream ( new FileInputStream ( filepath ) ); BufferedReader bufferReader = new BufferedReader ( new InputStreamReader ( dataStream ) ); String fileContent = ""; String line = null; // read each line in the file while ( ( line = bufferReader.readLine ( ) ) != null ) fileContent += line + "\n"; // clean up dataStream.close ( ); bufferReader.close ( ); // return the string return fileContent; } // end of read method /** * write * * @param filepath - path of the file. * @param fileText - contents of the file. * * Writes the contents of a string to a file defined by the filePath argument. * The method will throw an IOException if the system cannot write to the file. */ public static void write ( String filepath, String fileText ) throws IOException { // file object File file = new File ( filepath ); // check if file is writable. if ( ! file.canWrite ( ) ) throw new IOException ( "Error: System cannot write to the file " + filepath ); // create a new PrintWriter object PrintWriter out = new PrintWriter ( new BufferedWriter ( new FileWriter ( filepath ) ) ); // write the string to the file out.write ( fileText ); // clean up out.close ( ); } // end of write method } // end of class |
From: Thomas D. <td...@us...> - 2001-10-09 17:36:45
|
Update of /cvsroot/judo/v2/org/judo/ide/gui In directory usw-pr-cvs1:/tmp/cvs-serv10162 Modified Files: IDE.java Log Message: Just making a change to test the judo-commits mailing list. Index: IDE.java =================================================================== RCS file: /cvsroot/judo/v2/org/judo/ide/gui/IDE.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** IDE.java 2001/10/09 13:36:19 1.2 --- IDE.java 2001/10/09 17:36:42 1.3 *************** *** 74,78 **** } ! // get the code try { String line = ""; --- 74,78 ---- } ! // get the judo app source code try { String line = ""; |
From: Thomas D. <td...@us...> - 2001-10-09 13:36:22
|
Update of /cvsroot/judo/v2/org/judo/ide/gui In directory usw-pr-cvs1:/tmp/cvs-serv25623 Modified Files: IDE.java Log Message: Remove ^Ms from line ends. This is really a test of the jud...@li... cvs source commit notification mailing list Index: IDE.java =================================================================== RCS file: /cvsroot/judo/v2/org/judo/ide/gui/IDE.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** IDE.java 2001/10/09 03:29:53 1.1 --- IDE.java 2001/10/09 13:36:19 1.2 *************** *** 1,110 **** ! /*************************************************************************** ! * JUDO - A Java IDE for Children and Beginning Programmers ! * Copyright (C) 2001 Thomas J. Dunn ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * ! * You should have received a copy of the GNU General Public License ! * along with this program; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! ***************************************************************************/ ! ! package org.judo.ide.gui; ! ! import javax.swing.*; ! ! /** ! * Main App window for the JUDO IDE. Extensive comments about the class, ! * if neccessary, go here. Please always include the below javadoc tags ! * and cvs keywords. ! * ! * $Id$ ! * @author $Author$ ! * @version $Revision$ ! */ ! public class IDE extends JFrame { ! ! /** public displayed version of JUDO (in dialog boxes, etc) */ ! final static String JUDO_VERSION = "2.0.0"; ! ! /** ! * If the currently edited file is dirty, if changes have been made ! * All class data members should have comments, if they are single ! * line short comments, do it like above, otherwise like this ! */ ! private boolean isDirty = false; ! ! /** ! * Create the IDE JFrame window and initialize the GUI components, readying ! * the app for use. ! */ ! public IDE() { ! super("JUDO"); ! buildGUI(); ! } ! ! /** ! * Reads in a .judo file and returns the code ! * Also initializes the headerMap based on the JUDOPROP comments ! * If the method has arguments, please include param javadoc tag for each ! * parameter and if return type is not void, include return javadoc tag ! * ! * @param filePath the path to the file to read in ! * @return the code of the .judo file ! */ ! String getProgramText(String filePath) { ! BufferedReader programReader = null; ! String programText = ""; ! int index = -1; ! ! // open the file ! try { ! programReader = new BufferedReader(new FileReader(filePath)); ! } ! catch (FileNotFoundException fnfe) { ! displayOutput("Error: File " + filePath + " was not found."); ! } ! ! // get the code ! try { ! String line = ""; ! String key = ""; ! String val = ""; ! String searchString = JUDO_PROP_COMMENT; ! ! while ((line = programReader.readLine()) != null) { ! if ((index = line.indexOf(searchString)) != -1) { ! // read the comment and store in headerMap ! key = line.substring(line.indexOf(JUDO_KEY_PREFIX, index) + 1, ! line.indexOf("=", index)); ! val = line.substring(line.indexOf("=", index) + 1); ! headerMap.put(key, val); ! continue; ! } ! programText += line + "\n"; ! } ! ! programReader.close(); ! return programText; ! } catch (IOException ioe) { ! displayOutput("Error: Reading file " + filePath + "."); ! } ! return null; ! } ! ! /** ! * This is where it all starts. Entry point for JUDO's IDE. ! */ ! public static void main(String args[]) { ! IDE ide = new IDE(); ! ide.setVisible(true); ! } ! } --- 1,110 ---- ! /*************************************************************************** ! * JUDO - A Java IDE for Children and Beginning Programmers ! * Copyright (C) 2001 Thomas J. Dunn ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * ! * You should have received a copy of the GNU General Public License ! * along with this program; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! ***************************************************************************/ ! ! package org.judo.ide.gui; ! ! import javax.swing.*; ! ! /** ! * Main App window for the JUDO IDE. Extensive comments about the class, ! * if neccessary, go here. Please always include the below javadoc tags ! * and cvs keywords. ! * ! * $Id$ ! * @author $Author$ ! * @version $Revision$ ! */ ! public class IDE extends JFrame { ! ! /** public displayed version of JUDO (in dialog boxes, etc) */ ! final static String JUDO_VERSION = "2.0.0"; ! ! /** ! * If the currently edited file is dirty, if changes have been made ! * All class data members should have comments, if they are single ! * line short comments, do it like above, otherwise like this ! */ ! private boolean isDirty = false; ! ! /** ! * Create the IDE JFrame window and initialize the GUI components, readying ! * the app for use. ! */ ! public IDE() { ! super("JUDO"); ! buildGUI(); ! } ! ! /** ! * Reads in a .judo file and returns the code ! * Also initializes the headerMap based on the JUDOPROP comments ! * If the method has arguments, please include param javadoc tag for each ! * parameter and if return type is not void, include return javadoc tag ! * ! * @param filePath the path to the file to read in ! * @return the code of the .judo file ! */ ! String getProgramText(String filePath) { ! BufferedReader programReader = null; ! String programText = ""; ! int index = -1; ! ! // open the file ! try { ! programReader = new BufferedReader(new FileReader(filePath)); ! } ! catch (FileNotFoundException fnfe) { ! displayOutput("Error: File " + filePath + " was not found."); ! } ! ! // get the code ! try { ! String line = ""; ! String key = ""; ! String val = ""; ! String searchString = JUDO_PROP_COMMENT; ! ! while ((line = programReader.readLine()) != null) { ! if ((index = line.indexOf(searchString)) != -1) { ! // read the comment and store in headerMap ! key = line.substring(line.indexOf(JUDO_KEY_PREFIX, index) + 1, ! line.indexOf("=", index)); ! val = line.substring(line.indexOf("=", index) + 1); ! headerMap.put(key, val); ! continue; ! } ! programText += line + "\n"; ! } ! ! programReader.close(); ! return programText; ! } catch (IOException ioe) { ! displayOutput("Error: Reading file " + filePath + "."); ! } ! return null; ! } ! ! /** ! * This is where it all starts. Entry point for JUDO's IDE. ! */ ! public static void main(String args[]) { ! IDE ide = new IDE(); ! ide.setVisible(true); ! } ! } |