And have you considered what you would do if the word contains a “z”?greg mic wrote:. . . I have "hello" written in the input text file, so I should get an output file that contains the string "ifmmp"... . . .
Isha Tyagi wrote:Got it!
That's a pleasureThanks
What other things did you manage to clear up?. . . few other doubts as well!
No, you loop through the songs and create a button for each. You add the buttons in order to a panel and Bob's your uncle. Of course, using a correct layout will make that process much much simpler.ronald deux wrote:if I add two more songs to my song array
and if I understand correctly, we will have to add two more actionListener
it makes more code
Java™ Tutorials link about λs.I don't understand this symbol λ
There are several more, I am afraid: don't extend display classes unless you need to override any of their methods; the commonest overridden method is probably JPanel#paintComponent().Carey Brown wrote:. . . . There are several problems. . . . .