Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: How to "draw" (print) "graphics" on black text screen (console)
Andrew Thompson wrote:
> On 30 Oct 2004 10:08:37 -0700, Avraham wrote:
>
> 
>
>
> I don't see the point of using Java to (try to) interact so
> closely with the command line.  It is not a language well
> suited for it and it destroys the x-platform nature of Java
> for the sake of a few lines on the screen.
>
> If your students are so hungry for pretty lines, it would be
> better to give your students a quick taste* of Java GUI's
> with a single frame where you overide paint.

Yup, totally agree... trying to do ascii art graphics is not practical
in this fashion (i.e. controlling ascii output location much like the
curses library would).

A way is *could* be done is to make an object that accepts drawing
operations, buffers/remembers them, and then when requested outputs a
block of X by Y ascii showing the given lines, triangles etc. (It would
just output spaces, of course, where nothing was drawn.)

If AWT and graphics were really, really cryptic and hard to do, I could
see why the original poster was requesting this; but AWT is pretty
simple to do once you've got started!

alex

Report this thread to moderator Post Follow-up to this message
Old Post
Alex Hunsley
10-31-04 01:56 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Java Help archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:05 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.