This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to set a TextBox according to the Screen X and Y Coordinates

 
Rakesh Chaudhary
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi Ranchers,

I am trying to set a gwt component i.e textbox on a panel.Here I want to place the textbox on particular X and Y axis of the panel dynamically for a number of textboxs and label...I didnt found any method which sets the textbox according to X and Y coordiantes. in the gwt api.

Any help will be greatly appreciated..

Regards
Rakesh
 
Maneesh Godbole
Saloon Keeper
Posts: 11027
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out absolute panel
 
Rakesh Chaudhary
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bro Maneesh....





Rakesh
 
Rakesh Chaudhary
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I found that we if are reading contains from a Metadata from a third party tool,the metadata is different for different tools.

I added the coordinates as per x,y in a TreeMap inside a TreeMap and added the Textboxs in a Flextable
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic