Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

new page!

 
Trailboss
Posts: 23036
IntelliJ IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I made a new page for the code barn. Check out http://javaranch.com/CodeBarn/shapes.jsp
Did I leave anything out. Can you compile and run okay?
Bodie! Aren't your running the code barn these days? Can you mash the main code barn page to have a new section above the applets section called "Applications" and hook this puppy into it?
Maybe in the near future I'll make some stuff for servlets and EJB's too. Anybody interested in that sort of thing?
 
Sheriff
Posts: 9099
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Very colorful!
 
paul wheaton
Trailboss
Posts: 23036
IntelliJ IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wanted to use different colors to give an idea of what was happening.
 
Ranch Hand
Posts: 3143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep compiles and runs fine ... except the only way I can close the window is to close my dos window.... and yes it is VERY colourful
 
paul wheaton
Trailboss
Posts: 23036
IntelliJ IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I didn't want to add the code for closing the window. Less code means less confusing.
Do you think it is a good example of polymorphism?
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Paul. I like the page. Well... er... yes, I think I am supposed to be adding on to the Code Barn. I have found that I cannot access the FTP site from behind the firewall here, so I have not done anything yet.
I did write a small application to demonstrate using events with Swing. I'd like to have someone critique it before I put it out there. What would be the best way to do this? E-mail? Post in moderators only?
Bodie
 
paul wheaton
Trailboss
Posts: 23036
IntelliJ IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lack of ftp access will make this tough.
Ask in the MO forum to see if someone can be your liason. You can e-mail it to them and they can ftp it. I would help, but right now I don't have ftp access either!
 
I'm THIS CLOSE to ruling the world! Right after reading this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!