Re: 3 java questions: debugging, templating and Swing app for Texts cleansing
- From: Daniel Pitts <googlegroupie@xxxxxxxxxxxxx>
- Date: 29 Apr 2007 15:29:01 -0700
On Apr 29, 2:03 pm, lbrt...@xxxxxxxxxxx wrote:
// __ how do you debug debug:There are heap profilers out there which will tell you what objects
~
Exception in thread "main" java.lang.OutOfMemoryError: Java heap
space
are allocated.
~[snip code]
kinds of errors?
~
// __ How can you make this method taking in an array on ints and
enlarging it, make the same thing for long[]('s), byte[]('s) in fact
any possible array.
~
You can't really... Java Generics are not like C++ Templates. They may
have a similar appearance, but their functionality is quite different
except in the most basic cases. If you need to support multiple types
of arrays of primitives, you have to manually support it.
~I don't know about a swing application specifically, but there are
// __ Do you know of any swing application to compare two text files,
partially programatically, partially by eyeballing them?
The j app. should syncronize teh scrolling of both texts to that the
same section would be visible even if you scroll one of them
plenty of graphical diff programs available. google is your friend.
~
thanks
lbrtchx
Hope this helps.
.
- Follow-Ups:
- References:
- Prev by Date: Re: Darstellung von Set-Elementen in JSF
- Next by Date: Re: 3 java questions: debugging, templating and Swing app for Texts cleansing
- Previous by thread: 3 java questions: debugging, templating and Swing app for Texts cleansing
- Next by thread: Re: 3 java questions: debugging, templating and Swing app for Texts cleansing
- Index(es):