I'm working on project to manage users PC, but I need to customize the application title bar, like adding search bar or account info in it like ms teams
If someone knows an API that can do it for me, please help.
I don't know which kind of customization you're trying to do, I recommend using JNA/JNI and SWT libs, you'll find guides and infos about them here:
JNA: https://github.com/java-native-access/jna
JNI: https://www.baeldung.com/jni
SWT: https://www.eclipse.org/swt
For native support of title bar customization, try switching to another language if you don't mind porting your code to c# or c++ on dotNet framework, you'll find documentations about it here:
.net: https://learn.microsoft.com/en-us/dotnet/
Title bar customization: https://learn.microsoft.com/en-us/windows/apps/develop/title-bar