Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

JUtils

A collection of common classes I use in most of my larger projects to do the same things I do over and over again.

Currently there are 13 classes covering 10 different areas:

  • Args for handling program arguments.
  • Dates for handling Dates.
  • DebugInfo/DebugStatus for implementing a quick and dirty Debug processing. In conjunction with Trace and TraceThread it allows the program to print debugging messages by simply flipping a flag, rather than constant "if/then" logic all over the code.
  • Errs to pass error types (None, Warnings, Errors), Error number, Error message, Error field, and Stacktraces between classes. Allows calling classes to ignore errors if so desired.
  • FileSearch and FIO to handle most of the basic File IO operations
  • GuiInfo is a simple class to handle basic 'windowed GUI' parameters.
  • Help allows for the reading and definition of multiple help files for your project.
  • Sleep is a collection of routines for "sleeping" the program/thread
  • Trace and TraceThread allow the printing, displaying, and formatting of messages, warnings, errors, etc. on the output, desired, whether that is the console, windowed areas, or external files. This makes the code much cleaner because you just code "printMsg" and the class determines where it is to be displayed.
  • WindowRpt is a simple swing class that opens a "window" that can be written on to display text like "Help", or Trace messages.
All of these classes were written originally as part of a project and embedded in it. As subsequent projects were written I pulled them out of the original project and placed them here in my "toolbox". They are not the most elegant of implementations, and I'm sure they could be improved by those more proficient in Java. But I feel the code is pretty well documented so someone else can use the ideas to see where I was going with them and how they might use them, or their derivatives, in their own projects.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages