I'm a new jucer.I'm plan to do a open source project. Use juce as UI library.
In my project.
MainMenuBar is inherits MenuBarModel ...,Then Add this menu instance to MainWinow instance which is inherit DocumentWindow and add to Application.
When i click menu bar item file->open, then chose a file and get the file path name.
I need to show this file's content in MainWinow->MainComponent->ShowFileComponent instance.
How to pass this file path name to ShowFileComponent instance convenient?
If i need to pass this file path name to Appliction->MainWindow->Maincomponent->ShowFileComponent ?