How to resize backgroungimage?
2 posts
• Page 1 of 1
How to resize backgroungimage?
UIDesktopPanel desktopPanel = new UIDesktopPanel();
UIPanel content = new UIPanel();
UIBorderLayout uiBorderLayout = new UIBorderLayout();
uiBorderLayout.setMargins(2,2,2,2);
content.setLayout(uiBorderLayout);
content.add(desktopPanel, UIBorderLayout.CENTER);
content.setBackgroundImage(UIImage.getImage("mybackgroundimage1024x768.png"),800,600); ????????
reguards,
UIPanel content = new UIPanel();
UIBorderLayout uiBorderLayout = new UIBorderLayout();
uiBorderLayout.setMargins(2,2,2,2);
content.setLayout(uiBorderLayout);
content.add(desktopPanel, UIBorderLayout.CENTER);
content.setBackgroundImage(UIImage.getImage("mybackgroundimage1024x768.png"),800,600); ????????
reguards,
- wellspinto
- Posts: 10
- Joined: Fri Oct 06, 2017 4:59 pm
Re: How to resize backgroungimage?
I do believe that this is already accurately answered in your two other threads:
-
rzenz - Posts: 36
- Joined: Mon Dec 12, 2016 1:40 pm
- Location: Vienna, Austria
2 posts
• Page 1 of 1