Maximize window

Do I want to call a function to maximize the window when the client is minimized

What are you trying to accomplish? Preventing users from minimizing the client window? Is this a Vision client or Perspective client?

We often minimize the client, when there are some events, or receive message, maximize the window to the desktop ( vision)

This code should give you a start:

You'll need to figure out how to capture your triggers for maximizing, get the parent JFrame of the window, and then just use this part, where window is the parent JFrame you want to maximize:

window.setExtendedState(JFrame.NORMAL)

Hello, is there any way to do the same for a perspective workstation embedded application ?

This thread is about Vision. Your question is about Perspective. I suggest you open an new thread, tag it as perspective and explain exactly what you are trying to do.