Hi! I'm working on a notepad project and like original notepad i want the form title set by the name of the file that has been openned so how can i do that?!
thanks...
peymankop 0
Light Poster
Recommended Answers
Jump to PostWHat class are you using for your "form" - if it's a JFrame you can call its setTitle method any time to change the title.
All 3 Replies
JamesCherrill 4,733
Most Valuable Poster Team Colleague Featured Poster
stultuske 1,116
Posting Maven Featured Poster
JamesCherrill 4,733
Most Valuable Poster Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.