HI, i have a code where in i have added pushbutton with images in the background..
when i execute this i am getting the buttons propetly. but when i drag
drop the button it is giving unexpected error and all my application
closes.
but this is not happaening if i use only button without background image.
below is my code.
final PushButton pushButton_1 = new PushButton(new Image
("save_all_32x32.png"), new Image ("save_all_32x32_1.png"));
rootPanel.add(pushButton_1, 65, 94);
pushButton_1.setSize("46px", "40px");
final PushButton pushButton_2 = new PushButton(new Image
("searchtool_32x32.png"),new Image("searchtool_32x32_1.png"));
rootPanel.add(pushButton_2, 118, 94);
pushButton_2.setSize("40px", "40px");
final PushButton pushButton_3 = new PushButton(new Image
("delete_32x32.png"),new Image ("delete_32x32_1.png"));
rootPanel.add(pushButton_3, 171, 96);
pushButton_3.setSize("40px", "36px");
final PushButton pushButton_4 = new PushButton(new
Image("news_32x32.png"), new Image ("news_28x28_1.png"));
rootPanel.add(pushButton_4, 224, 98);
pushButton_4.setSize("40px", "38px");
Can any one tell me how can i get rid from tis error.
Thanks in Advance
Rao
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---
hs_err_pid4008.log
Description: Binary data
