Re: Display image selected from JFileChooser



jimmy <jimmy.cullen@xxxxxxxxx> writes:

<snip>

One common way of debugging is reading the eror stack; and
fixing the lines with errors iteratively.

For example..

If you get a null pointer exception on line 10; you go to line 10 and
work out which object is null and resolve that.

You can ten rerun your program until you get no errors.

You can then fix your functional errors.

After that you can refactor etc...

--
ilAn
.



Relevant Pages

  • Re: stack trace of C program core dump on solaris
    ... One approach is to use stack trace of the mdb debugger, ... Segmentation Fault (core dumped) ... Reading coredump_fn ... With debugging, sometimes an error can be near but not at the line ...
    (comp.unix.solaris)
  • Bob Hoover
    ... Would I be wrong to assume that Bob Hoover really liked to work on VW junk. ... Or was he getting these jjunkers and fixing them out of necessity. ... Between reading half pages. ...
    (rec.autos.makers.vw.aircooled)
  • Re: StretchRect (or similar) transparency?
    ... Debugging from my book: ... When you find the code that is failing, ... Try reading this thread again before replying and I think you'll realise how ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: Connecting external propane appliance to existing RV tank.
    ... even while overseas by reading a book and fixing ... what broke. ... Egads, ...
    (rec.outdoors.rv-travel)
  • Re: How to Link???
    ... > The lib is indeed in the location specified. ... > This GNU stuff is in need of fixing! ... You //could// try reading ...
    (comp.os.linux.development.apps)