• 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

Help writting to file

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am new to this forum, I apologize in advance for any error I may make.

Well, I am trying to save the zone Hashtable<String, JPanel> however when I try to save it, it saves the the whole calling object and the whole UIMap class.
I only want to save the Hashtable but intead it saves everything. Could anyone tell me why is this happening.

 
Sheriff
Posts: 3063
12
Mac IntelliJ IDE Python VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You're doing all right, but in the future, keep in mind to:

UseCodeTags and
IsolateTheProblem

I put in code tags for you, but I haven't been able to isolate the problem. Basically, that means I spent 60 seconds scanning your 400 lines of code, did a quick search for key words like "save" and "write" and still can't figure out where you're saving a hash table to anywhere. Now I'm giving up, but I'll take another look if you show us where your problem is occurring.
 
get schwifty. tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic