Is a modal JDialog possible in this scenario?

Printable View