★ wanayoo — archive 1999 http://java.about.com/compute/java/library/weekly/aa031200a.htmNouvelle recherche | Portail wanayoo
Enter Sweepstakes! · Advertise on this site · Get Bargains
About.com  
You are here:  About > Computing/Technology > Focus on Java
an About site
   About.com
 
 One of Over 700 Sites
Your Guide with Guide
John Zukowski
Bio | Contact

Subjects
Applets
Book Resources
Career Resources
Community
Core Libraries
FAQs
Getting Started
How-To
Magazines
News Sources
Tools
Tutorials

Subject Library 

All articles on this topic

Bookstore
Find books related to this topic Click Here

Videostore
Find videos related to this topic Click Here

ShoppingAbout
Your favorite products, right here Click Here

Stay up-to-date!
Subscribe to our newsletter.

Do you like our sites?
Wish to share them with others - and earn money?
Become an Affiliate

More Sites on this Topic
Java Coffee Break

Search for 
in   Sites A to Z
 
 

Reader Email Q&A

Dateline: 3/12/00

I recently returned from the Internet World Singapore conference. After being completely offline for about a week, I came back to what seemed like a ton of email messages, many looking for help. While I try to answer all my email in one way or another, that isn't always possible, especially when you have about 700 messages in your queue. I thought I would share with everyone some of the recent questions and answers. For technical support, it is best to post to the bulletin board area, that way the whole community has the chance to help and learn from the situation. With that said, here are six of the questions:

  1. Does the recent security patch from Microsoft solve the security problems in their browser mentioned in the past feature?
    Not completely. It removes the existence check vulnerability [getSystemResource()] but still permits reading anything in the CLASSPATH from a class loaded over the network [getSystemResourceAsStream()]. [As an FYI, I've noticed that the site that had the problem applet up has been down lately.]

  2. How do I generate a .java file from a .class file?
    I've added resources to the security resource list for this. Jad and SourceAgain may help. (Jad is free.)

  3. How do I drag and drop nodes of a JTree within itself?
    I'll look into creating an article on this one. I've been asked this frequently.

  4. What are short circuit operators?
    The || and && operators in Java will stop evaluating operands as soon as it is able to determine the final result. For instance, with the || operator, if the first operand is evaluated to true, there is no need to evaluate the second as the final result will always be true. If you really need both operands to be evaluated, use the | or & operators.

  5. How do I display tool tip text specific to a node in a JTree?
    In a past article, I mentioned how to do this for a JList. For a JTree, it is basically the same thing. Subclass JTree and override getToolTipText() (and don't forget to register your component with the ToolTipManager).

  6. In a past article, I mentioned you can use the Acme GifEncoder to save an Image to a GIF file, instead of using the Java 2 JPEGImageEncoder. How do you use it?
    Image image = ...;
    FileOutputStream out = 
      new FileOutputStream("test.gif");
    GifEncoder encoder = 
      new GifEncoder(image, out);
      

Other Tidbits

I'll be back next week with more things to do and places to go. If you have any comments about this week's feature, be sure to post them to the bulletin board. If you have any questions or topic suggestions, let me know or submit feedback. For technical questions, try to post them to the bulletin board area, instead of emailing me directly. That way, everyone can benefit from an answer, as well as offer answers. See you next time.

Previous Features

Subscribe to The Focus on Java Newsletter
Name
Email



Email this page!

Sponsored Links
eHelp Corporation
eHelp Corporation, Worldwide leader in Help authoring. Quickly and easily create WinHelp, HTML Help, JavaHelp, WebHelp, and more.
http://www.ehelp.com/  (Listing fee: $0.36)
techies.com
techies.com is the leading career resource for technology professionals. Find the hottest tech jobs. Online training. Valuable career tips. And the inside scoop on local companies.
http://www.techies.com/  (Listing fee: $0.34)
Juliet - Navigate Java
Juliet == novel visualization tool. Juliet visualizes all types and packages on your classpath. Use it to: - Explore and understand Java libraries - Quickly lookup details while coding
http://infotectonica.com/  (Listing fee: $0.33)
TELECOMMUTING COMPUTER RELATED & I.T. JOBS DIGEST
On average, we post 1,000 to 1,200 work from home computer related and I.T. employment opportunities monthly and we normally don't post less than 800 in any given month.
http://www.intlhomeworkers.com/  (Listing fee: $0.31)
Netsetter - the free download accelerator
Download and install the Netsetter software and you can double your internet speed and have a chance to win a BMWZ3 Sports Car!
http://www.commission-junction.com/  (Listing fee: $0.31)
Sponsor this site More...


 
 Advertising
AllBusiness.com
Create your business plan. Here’s how.

Casino Online
Act NOW for 20% Cash Bonus $$

HotJobs.com
Better Jobs for a Better Life

Wanna be famous?
Win a walk-on part in a new movie.

single pixel
single pixel
Marketplace
register domains
get a website$499
long distance deal
- - free stuff - -
meet your match
virtual makeover
high paying jobs
quick jobs search
free ebiz solutions
meet your match
build a business
$50 off mp3 player
meet your match
book club
longdistancedeal

 
Related sites
single pixel
on About 
C/C++
Computer Science
Focus on JavaScript
Focus on Web3D
HTML
Internet Industry
Perl
Web Design
XML


Explore More On The About Network
Search
Arts/Humanities ·  Autos ·  Cities/Towns ·  Comedy ·  Computing/Technology ·  Cultures ·  Education ·  Food/Drink ·  Gadgets ·  Games ·  Health/Fitness ·  Hobbies ·  Home/Garden ·  Homework Help ·  Industry ·  Internet/Online ·  Jobs/Careers ·  Kids ·  Money ·  Movies ·  Music/Performing Arts  ·  News/Issues ·  Parenting/Family ·  People/Relationships ·  Pets ·  Recreation/Outdoors ·  Real Estate ·  Religion/Spirtuality ·  Science ·  Shopping ·  Small Business ·  Sports ·  Style ·  Teens ·  Travel ·  TV/Radio · 
 
single pixel

For more information, visit
Our Story, Be a Guide, or Advertise. For rules of use,
read our User Agreement and
Privacy & Kids Privacy Policy.

Having a problem?
Report it here.

About Canada   ·    About UK

 
Copyright  © 2000 About.com, Inc.
About and About.com are registered trademarks of About.com, Inc.
The About logo is a trademark of About.com, Inc.
All rights reserved.