E
Ed
I have a Class (class PublishStats) containing 2 methods. Method 1
(UpdateFields) formats text and inserts it into a DefaultStyledDocument
named, for example "wage1". Method 2 (PublishStats) uses a gridbagLayout to
display "wage1". This does not work opviously because wage1 being in method
1 is not availble to code in method 2.
Can someone suggest how I can overcome my problem? Is there a Global option
for a DefaultStyledDocument or something like that? Or is there a way to
call an object in method 1 from method 2? Help please! (There will be 25 of
these entries.)
(UpdateFields) formats text and inserts it into a DefaultStyledDocument
named, for example "wage1". Method 2 (PublishStats) uses a gridbagLayout to
display "wage1". This does not work opviously because wage1 being in method
1 is not availble to code in method 2.
Can someone suggest how I can overcome my problem? Is there a Global option
for a DefaultStyledDocument or something like that? Or is there a way to
call an object in method 1 from method 2? Help please! (There will be 25 of
these entries.)