"The greatest of all weaknesses is the fear of appearing weak." - JB Bossuet
Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
Greg Brannon wrote:I often use your #1, except for the static part. Why do they have to be static in your world?
"The greatest of all weaknesses is the fear of appearing weak." - JB Bossuet
Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
Greg Brannon wrote:I can't imagine your way of doing things or the reason for it, but I'll accept that there is a good reason for what you're doing. I'm more deterministic in my coding.
[/code]
"The greatest of all weaknesses is the fear of appearing weak." - JB Bossuet
Cory Hartford wrote:When you say you are more deterministic, what do you mean? Specific to design you mean or implementation?
Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
Greg Brannon wrote:
Cory Hartford wrote:When you say you are more deterministic, what do you mean? Specific to design you mean or implementation?
The only 'static' element in my code is the main() method, but I'm still in Java elementary school.
"The greatest of all weaknesses is the fear of appearing weak." - JB Bossuet
"The greatest of all weaknesses is the fear of appearing weak." - JB Bossuet
Cory Hartford wrote:I figure there has got to be another method to update the state of components in a Jframe without killing the frame object and creating a new one.
Cory Hartford wrote:I have to dispose of my Frame object now when I'm done with it, versus updating static components in the existing frame object. When I create a new one, even though it happens quickly, there is a visible stutter.
Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
Paul Clapham wrote:
Cory Hartford wrote:I figure there has got to be another method to update the state of components in a Jframe without killing the frame object and creating a new one.
Of course to call a method of an object you need a reference to it. But you already know how to pass around references to objects, why aren't you doing that?
"The greatest of all weaknesses is the fear of appearing weak." - JB Bossuet
Search for other object-orientation books; there are better books available than that one.Cory Hartford wrote: . . . I think I am going to pick up Object Oriented Thought Process. . . .
Campbell Ritchie wrote:
Search for other object-orientation books; there are better books available than that one.Cory Hartford wrote: . . . I think I am going to pick up Object Oriented Thought Process. . . .
"The greatest of all weaknesses is the fear of appearing weak." - JB Bossuet
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |