cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Window Title

Former Member
0 Kudos

Hi,

I have created a window in an application, which will appear like a popup window. I have to change the title of the window. How to change it? Kindly help me out.

Thank you.

Regards,

Dhana

Accepted Solutions (1)

Accepted Solutions (1)

roberto_tagliento
Active Contributor
0 Kudos

Hi

IWDWindow window = wdComponentAPI.getWindowManager().createWindow(windowInfo, true);

//set the window position on the screen

window.setWindowPosition(100, 100);

( (Window) window ).setTitle("YOUR_TITLE");

Message was edited by:

Roberto Tagliento

Former Member
0 Kudos

Hi,

Thanks a lot for your replies.

Regards,

Dhana

Answers (1)

Answers (1)

lajitha_menon
Contributor
0 Kudos

Hi Dhana,

set the title using the setTitle method on the IWDWindow...like this

IWDWindowInfo windowInfo =

(IWDWindowInfo) wdComponentAPI

.getComponentInfo()

.findInWindows(

"TestWindow");

IWDWindow window =

wdComponentAPI.getWindowManager().createWindow(

windowInfo,

true);

//set the WindowPosition on the screen

window.setWindowPosition(300, 150);

window.setWindowSize(300, 230); //width,height

window.setTitle("Title");//set the title

window.open();