Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet is open properly in appplet viewer but show half page only on browser ?

 
parveen sadyal
Greenhorn
Posts: 6
Eclipse IDE MyEclipse IDE MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have created a applet page . The page is open properly in Applet viewer , But sadly its show half contents of page when i run it on web browser. Please see the two different images from attachment.

1>In applet viewer ---- name of image is "screenshot-2"
2)browser ------name of image is"screenshot-1"

Thanks in advance.
Screenshot-1.png
[Thumbnail for Screenshot-1.png]
Screenshot-2.png
[Thumbnail for Screenshot-2.png]
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.
Can you show us your html code where you embedded your applet? Have you specified sufficient height/width for the applet?
 
parveen sadyal
Greenhorn
Posts: 6
Eclipse IDE MyEclipse IDE MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks godbole ,butI have already set the height and width 100% in my html page....
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok. If you don't show us the code, then I don't see how we can be of any assistance.
 
parveen sadyal
Greenhorn
Posts: 6
Eclipse IDE MyEclipse IDE MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Godbole, Please see the code :


Please Sir resolve it fast....Actually my task is pending with this bullshit problem.
 
parveen sadyal
Greenhorn
Posts: 6
Eclipse IDE MyEclipse IDE MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
, Still waiting for my answer.....
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
parveen sadyal wrote:Please Sir resolve it fast....Actually my task is pending with this bullshit problem
Still waiting for my answer.....

PatienceIsAVirtue
EaseUp

The HTML you shared, is it the only page or are you using frames?
If it is the only page, please post your SSCCE
 
parveen sadyal
Greenhorn
Posts: 6
Eclipse IDE MyEclipse IDE MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Godbole ,
I think you are not getting my point.I already sent you The Html code as per your requirement , But i got no positive response regarding my problem ,Which can help me . The problem is only in Html not in my Java code . If you have any knowledge of applet then please suggest me some Idea except asking for SCCE. I just ask for how my whole page display in web-browser as per my screen shot.
 
Darryl Burke
Bartender
Posts: 5125
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maneesh asked you a very pertinent question which you haven't answered.
Maneesh Godbole wrote:The HTML you shared, is it the only page or are you using frames?

So, are you using frames?

He then went on to say
Maneesh Godbole wrote:If it is the only page, please post your SSCCE

Instead of responding positively, you choose to question his knowledge?
parveen sadyal wrote:If you have any knowledge of applet then please suggest me some Idea except asking for SCCE.


His questions were based on his knowledge of Applets. And what's your problem with posting an SSCCE anyways?
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't know why I'm responding to such an impatient OP.

Anyway, why not create a single cell <table> width/height=100%
Put the applet in the <td> and see what happens.
(Better yet, use more modern divs/css)

tip: set the border="1" to ensure the table fills the screen.

What browser is this?

WP
 
parveen sadyal
Greenhorn
Posts: 6
Eclipse IDE MyEclipse IDE MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Darryl Burke ,

I am not checking the knowledge of any buddy , I am nave user and i am just asking the question regarding my problem .

Thanks "William P O'Sullivan" for your answer ,but I the problem is same , I follow your guidelines but same issue pending , I am sending my SSCCE


and Html code is
 
Darryl Burke
Bartender
Posts: 5125
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
parveen sadyal wrote:I am sending my SSCCE

That's not an SSCCE. Did you read the linked page to find out what the acronym signifies?
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
using your originally posted html code (no table), worked fine for me when I swapped lines 1 and 2
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which lines 1 and 2?

I was going to recreate this today, but won't if the fix is already found.

WP
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the html code

[edit]
or remove the DOCTYPE line
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cool. TY.

WP
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic