aspose file tools
The moose likes Swing / AWT / SWT and the fly likes Taking values from a text file inside paintcomponent    Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "Taking values from a text file inside paintcomponent    " Watch "Taking values from a text file inside paintcomponent    " New topic
Author

Taking values from a text file inside paintcomponent

sunny Kapadia
Greenhorn

Joined: May 19, 2009
Posts: 1
Hi,

I want to read values from a text files from specified fields and use them as values to fill my methods inside the paintComponent() method. I am using for loop to do that but not able to do it properly. Can somebody give me a good example code howto do it ??
Here is extract of my code below:-



Thanks
pete stein
Bartender

Joined: Feb 23, 2007
Posts: 1561
regarding this:
Sun Forum Post

Please read this link here: BeForthrightWhenCrossPostingToOtherSites

You probably should post this thread's link in your Sun forum post as well.

Best of luck.
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2552
    
    2

"sunnyisfunny alscs " welcome to Javaranch
please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.


SCJP, SCWCD.
|Asking Good Questions|
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19216

Amit Ghorpade wrote:"sunnyisfunny alscs " welcome to Javaranch
please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.

Sunny, the problem still has not been resolved.


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Taking values from a text file inside paintcomponent
 
Similar Threads
paintComponent() problem
I am trying to create dynamic text
Graduated Backgrounds
Having touble adding graphics to JPanel
Problem with graphics2d and JLable while overloading paintComponent() method