mac-comp127 / kilt-graphics

Graphics and UI library for learning software development principles in Java
https://mac-comp127.github.io/kilt-graphics/
2 stars 17 forks source link

Making TextField Objects More Customizeable #4

Closed ariadne-smith closed 1 year ago

ariadne-smith commented 4 years ago

In our project, our group wants to display text to the user without using the console. Since the text is constantly being updated, using a GraphicsText object would be unreliable and cumbersome. I think that if TextField objects were able to be made uneditable (by the user), as well as having their size able to be changed, we could use a TextField object to display text to the user.

pcantrell commented 4 years ago

Since the text is constantly being updated, using a GraphicsText object would be unreliable and cumbersome.

Can you please clarify what you mean by “unreliable and cumbersome?”

GraphicsText has a setText() method. You should be able to call setText() 60x per second if you want without any adverse effects.

Does TextField have some particular feature GraphicsText is missing?