Configuring for output on custom replit

Hi! I’m trying to learn configuration because I have a multi-language project and some special needs within that. One of those is that I need an output. I’m using javax.swing and I don’t know how to configure that. Can anyone help me? Thanks!