• 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

JButton Sizes

 
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ive been trying everything to adjust the size and x,y of a JButton - cant seem to find any method to do this ive tried:



Does anyone know a method achieve this?
 
Ranch Hand
Posts: 1252
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Stephen Foy:
Ive been trying everything to adjust the size and x,y of a JButton - cant seem to find any method to do this ive tried:



Does anyone know a method achieve this?



Although this is not proper forum to post the thread, but anyways what you are doing, is you are adding button on Frame. You must look at this code.



This will display the JButton as according to you. Still but you still need to brush up your mind with Swings Basics.

Please let me know if there are any issues.

 
reply
    Bookmark Topic Watch Topic
  • New Topic