Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within GWT
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
GWT
gwt and frame
mark smith
Ranch Hand
Posts: 264
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi
hi
how to put a frame in a panel?
i tried this code
Panel panel = new Panel(); panel.setTitle("preview"); Frame frame = new Frame("demo.pdf"); frame.setVisible(true); panel.add(frame); RootPanel.get().add(panel);
but nothing is displayed
any idea
thanks
jonas jonaitis
Greenhorn
Posts: 1
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
you probably have a problem in new Frame("demo.pdf") . Frame parameter is the URL of the resource to be displayed. If you take for instance as URL "mail to...." everything works fine.
salvin francis
Bartender
Posts: 2911
150
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
is demo.pdf in the right path ?
http://www.salvin.in
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Awt
How to make Icon flash?
jpanel and internal frame
problem in running AWT programs!!
Panel issue
More...