| netbean5 packaging travail |
|
 |
Index ‹ java-programmer
|
- Previous
- 1
- Hashtable synchronized?The docs say that Hashtable is synchronized. Does that mean that I
don't have to prevent concurrent gets/puts with my own synchronization?
I'm not concerned about manipulating the Iterators just storing and
retrieving elements.
Thanks,
--
Knute Johnson
email s/nospam/knute/
- 1
- They ALL suck! [Was: On Java and C++]Andrew McDonagh wrote:
> go Ruby ..Go Ruby...Go Ruby
Ruby:
- a cheap imitation of Smalltalk that stretches
too far, all the way to Perl. (And don't get
me started about Perl!)
- syntax crippled by an early design decision
to make parens on method calls () optional.
this has since been adjusted, leaving the
language whitespace-sensitive
- the require('module') command dumps everything
into your module, even if you don't want it,
even if it causes a circular dependency
- if you name your class the same as some other
class, somewhere, then they become one class!
- a dynamic and interpreted model that makes
compiling and optimizing absolutely impossible
- permits a super-terse style that everyone
exploits to show off
Java:
- write once debug everywhere
- forgets everything on all its CLASSPATHs at
the drop of a hat
- projects must depend on fragile and
programmer-hostile tools, like ANT,
that make easy things hard and hard
things absurd
- impersonates the worst of C++ - typecasts
for simple containers, two different kinds
of type to store a stupid Integer, multiple
String classes, and last but least generics!
- arrays aren't really arrays. But they really
are. Kinda.
- static typing, to flatter Pascal with a vain
impersonation that, instead, forces you to
break typesafety just to get anything done
- everything must be inside a class. You can
still write object-disoriented crap, but at
least it's inside a class!
- pretends you broke something if your file
name differs from your class name. Figure
it out, stoopid!
- when a smart editor like Eclipse can finish
every line for you, it makes you wonder
what the language is _there_ for!
- adds keywords, like interface, based on
someone else's preconceived notion of good
design. Not keywords like 'virtual', based
on what the hardware will actually do
- comes with an advertising campaign capable
of making inexperienced programmers think
all this cruft is "lean and elegant".
- provides whole new categories of bugs, based
on zombie objects, non-deterministic
destructors, redundant finally blocks, all
under the excuse we are saving you from all
the C++ memory errors that a good standard
library implementation will save you from
anyway
- instead of providing a narrow and reasonable
implementation of multiple inheritance like
C++ (or an alternate "mixin" system like
Ruby) we instead get endless lectures,
endlessly repeated by newbies, about why
real programmers don't need multiple
inheritance of implementation
- at least C++ makes some of the benefits
of dynamic typing available. Java instead
enforces such a narrow view of static
typing that you can't even simulate
those benefits
- why the >F---< does Netbeans ask me where
the _same_ JAR files are, _each_ time I
launch it???
- a marketing campaign that teaches newbies
that a language is good if only smart
people can figure out how to use it
- GUIs require block closures and dynamic
typing. But what language does your boss
tell you to write the GUI in???
C++ (deep breath):
- where in memory do you want to
accidentally jump today?
- the only smart pointer that could pass
the 97 committee was one so primitive
and broken that its copy constructor
changes the copied-from object!
- mutable; because constancy is enforced
at compile time, not runtime, yet it
_could_ exploit hardware support
- strings, strings, and more strings. The
ISO Standard string came so late in the
language's history that every serious
library has its own (multiple) string
classes
- what the >F---< does imbue() do???
- void main is neither illegal nor legal!
Some, but not all, compiler-specific
extensions use a __ prefix
- of course RAII can be better than
redundant finally blocks. But _all_
these systems are cheap imitations
of the Execute Around Pattern, which
requires block closures, so objects
can clean themselves up, exception-
safely, deterministically, and
_without_ elaborate destructors
- the majority of the glitches and
common bugs when implementing code
in C++ happen because it's designed
to be efficiently compiled by a
simple compiler. A reinvented language
could make better use of modern
compiler technology
- teachers, bosses, and colleagues make
us use the language because it's
popular, even for inappropriate
situations. This newsgroup gets
a dozen questions per month asking
how to do something that a scripting
language can do
- you can do an "Applet" in C++ trivially,
using ActiveX. And because C++ has no
security model to speak of, anyone
using your applet exposes their browser
to gawd-knows-what-else is out there...
- how many here have _ever_ written a
program with _absolutely_ no undefined
behavior? How many _know_ they did??
- when folks say C++ is portable, they
mean the _compiler_ ports easily to
other platforms. By marrying your
statements to the metal, a C++
implementation forces you to
consider _endless_ portability issues
at port time
- the exception handling model is so
complex it makes me wonder if Bjarne
Stroustrup actually determined how to
write exception-safe programs when
he invented the language
--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!
- 2
- video/audio transfer. Java vs .NETI know I'm a little crazy to ask it in a Java discussion group, but I
just would like to know about Java and .NET possibilities to handle
images and videos. I know Java has JMF and other interesting stuff to
do that, besides of thousands of classes in the web.
But, have you ever tried to handle video in .NET? In what points in
Java better/worse than it?
Thank you very much... bye!
- 2
- dynamically change the classpathI've got a question regarding how to "dynamically change
the classpath" ?
I've already written some (simple) custom ClassLoaders,
to help... loading classes.
This time, I need to do something and I think I need to
use a custom ClassLoader but I'm really not sure. And
if I need to use/write one, I don't know of to go about
it.
Here's my problem:
- I've got several .jars that my application needs and I
have to keep these files as separated jars.
- I cannot be sure of the exact location of these jars, so
I cannot add them to the main jar's MANIFEST.MF's Class-Path:.
- At runtime, I will have a way to know where those jars are
located.
How can I tell the application "if you don't find a class, go
look into those jars"?
I've read several articles/webpages and read code sample, but
I don't get it.
I know how to load a certain class from a .jar, but not how
to tell the application "if you don't find a class then look
into xxx.jar and yyy.jar and zzz.jar before throwing a
ClassDefNotFoundError".
On Roedy's site, it is written:
> Why would you ever want a custom ClassLoader?
>
> ...
> They let you dynamically change the classpath.
> ...
So I think I need to use a custom ClassLoader (an URLClassLoader?),
but how...
Thanks in advance for any help,
Jean
- 2
- database viewer?Does anyone know of a product that will allow people to basically query
a databasee based on the fields that are in the database?
Basically we're looking for a good solution that will build an sql
query (via jsp) on an html form, and output all of the rows in the
table that are valid to that query.
Thanks for the input. I thought this would be an ideal place to post
this because although I am looking for a product, surely some
developers on this forum would have had the need for something similar
(without having to put too much extra time into it).
Thanks
- 5
- question about jnlp (java web start)Hi,
I created a jnlp file, a jar file and a html on my local disk.
Clicking the link of jnlp from the webpage, my Java Web Start
launches.
Everything is ok.
But after I've uploaded all the files to the webserver, my browsers
(Mozilla and IE) everytime just read and display the plain text in
jnlp file. The Web Start never launches. (The permission for all the
files is 755.)
Anyone know why?
Thanks a lot !!!
roy
- 7
- 13
- Need help with 2D arrayWould someone shows me the java syntax to create a 2D array of a calendar,
where the rows represents months, such as: Jan, Feb... and columns represent
days; assuming that there are 29 days in Feb? I don't know whether to
declare this 2D array in String or int, since the months are string while
days are int. Thanks
- 13
- using the debuggerHi,
I've got a loop which is going through an array, and I'm getting an
array index out of bounds exception. Usually to find this sort of
error I'd use System.out.println() or look at the code until the penny
drops, but I think it must be quicker to use the debugger. I want to
see the local variables in the loop, so I recompiled the class with
the loop, and the main class. The debugger says to recompile with -g
so I did:
javac -g TheMainClass.java, and javac -g TheLoopClass.java.
Then when I run the program and the debugger stops at the exception,
I type locals and the debugger still says recompile with -g.
Does that mean I need to recompile every class the program is using?
Also, is there any tutorial or instructions for using the debugger?
Documentation for any standard debugger would probably explain some of
the general priciples I need to know.
Thanks for any help,
Gerard
- 13
- importing and using .class fileI have a .class file, not a .java file.
After I imported it to my Eclipse Project,
I had no idea to use it.
I put
import foo;
but eclipse doesn't recognize 'foo' as a class name.
How can I use a .class file?
Do I need its source file?
- 13
- Have problems to get JMF working under Linux (Suse 9.2); Need HELPHello,
i 've a serious problem. I have to develop a Audio and Videoconferencing
system in Java using JMF. My Boss wants me to do this under Linux (the
servers all shall be linux and the clients should be available on Linux and
Win).
Thats not really the problem. The problem is, that JMF won't work for me
under Linux. I tried hard, but I've no idea what i can do now. I hope
someone can help me here.
What I've actual on my system:
Installed the Linux Performance Pack
Set the pathes in my /home/user/.profile like this:
export JMFHOME=/home/brinkop/Programme/JMF-2.2.1e
export CLASSPATH=$JMFHOME/lib/jmf.jar:$JMFHOME/lib/sound.jar:.:${CLASSPATH}:
export LD_LIBRARY_PATH=$JMFHOME/lib:${LD_LIBRARY_PATH}
like descriped on the sun website.
Now the JMStudio starts and it is able to capture sound from my soundcard.
Then I wrote a little testapplication to find capture devices. But this
doesnt work. There is a win installation on the same PC, on which the
testap. works without problem. So the problem must be Linuxspecific.
The JMFdiagnostic Applet tells, that it can't find the JMF librarys. Hmm,
but why the hell the JMStudio is running?
Ok, when i try to start the JMFtest.jar the result is this:
java -jar JMFTest.jar
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/media/CaptureDeviceManager
at Geraetefinder.sucheGeraete(Geraetefinder.java:40)
at Geraetefinder.<init>(Geraetefinder.java:31)
at Geraetefinder.main(Geraetefinder.java:35)
If i start it in this way:
java -
Xbootclasspath/p:./lib:./lib/jmf.jar:./lib/mediaplayer.jar:./lib/multiplayer.jar
-jar JMFTest.jar
It starts without error message, but doesn't work (note: under win the same
one works fine).
So something must be wrong with the passes. Maybe it can't find the native
librarys or something. I don't know.
I hope someone can help me solving this big problem. Thanks in advance and
greetings
einherjar
--
Message posted via http://www.javakb.com
- 14
- image as background in appletHi
I want to draw polygon(s) and fill this polygon with image so that it is
like background pattern. In example if size of image is 10x10 pixel then
this will be repeated.
Some ideas?
Thx.
- 14
- Working with Images in J2MEi have a final year project to be completed..
im creating a mobile, location based information system. its a stand
alone application.
i need 2 find out, whether thr are any classes to wrk with the images
..
somethin lik locating symbols in an image..
even an alternate solution will be fine :)
i badly need a way to do this.
regards,
MNM
- 14
- Java persistenceHi group,
i'm looking for a Java persistence framework that is able to cope with
changes of the class source, i.e. new/changed attributes and/or
methods. Say you have an exported (persistent) instance of a old class
version and want to reload it into a newly started program that uses a
new version of the class. Is there some framework that can do the job
or do i have a strange idea of what instance persistence realy is?
Thanks, Frank.
- 15
- help with eventListenershi
I was just wonder if some one could tell me how i do this...
You press a button and if the check box is selected it does something and if
it isn't nothing happens.
I know how do the, if a button is pressed something happens, but I'm stuck
with how to check what the check box status is. I'm pretty sure you have to
use an ItemListener but i don't understand it when you have to use an
actionListener aswell. Please help. Even tell me where abouts to look for
the answer would be a great help.
thanks
matt
|
| Author |
Message |
C P via JavaKB.com

|
Posted: 2006-2-9 6:02:00 |
Top |
java-programmer, netbean5 packaging travail
Hello
I have a project, an applet, that compiles and runs
fine with some 3rd party jars that are in the
libraries folder. It never packages them into the
final project jar. I fixed this problem for the
swing-layout with:
<jar update="true" destfile="${dist.jar}">
<zipfileset
src="${libs.swing-layout.classpath}"/>
<!-- <zipfileset
src="${libs.3rdparty.classpath}"/> -->
</jar>
unaware of the nameing convention and of course I dont
know how to get it to work with anything else. Can
someone instruct what is necessary in config or
build.xml to get the 3rd party jars packaged? tia.
--
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-tools/200602/1
|
| |
|
| |
 |
Kroll, Michael

|
Posted: 2006-2-10 18:03:00 |
Top |
java-programmer >> netbean5 packaging travail
Hello,
I don't now it works for you.
I pack some extra packages for example:
<target name="-post-jar">
<jar update="true" destfile="${dist.jar}">
<zipfileset src="${libs.swing-layout.classpath}" />
<zipfileset src="${file.reference.ojdbc14.jar}" />
<zipfileset src="${file.reference.looks-1.3.1.jar}" />
</jar>
</target>
I hope it help you.
Regards
Michael
--
http://www.smurfi.de
German NetBeans Site
|
| |
|
| |
 |
C P via JavaKB.com

|
Posted: 2006-2-10 23:15:00 |
Top |
java-programmer >> netbean5 packaging travail
Hi Michael
Thanks for the response. However I still dont understand the naming. the EL
expression "${libs.swing-layout.classpath}" I understand as a Library module
called swing-layout. But what is the classpath component. Further how are
you using, where should the jars be for your reference? Could your reference
be rewritten as "${libs.ojdbc14.classpath}" if you created that jar as a
Library? Where is this nomenclature documented? Is this Ant1.6? Thanks for
any help.
Kroll, Michael wrote:
>Hello,
>
>I don't now it works for you.
>I pack some extra packages for example:
>
> <target name="-post-jar">
> <jar update="true" destfile="${dist.jar}">
> <zipfileset src="${libs.swing-layout.classpath}" />
> <zipfileset src="${file.reference.ojdbc14.jar}" />
> <zipfileset src="${file.reference.looks-1.3.1.jar}" />
> </jar>
> </target>
>
>I hope it help you.
>
>Regards
>Michael
>
--
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-tools/200602/1
|
| |
|
| |
 |
C P via JavaKB.com

|
Posted: 2006-2-10 23:26:00 |
Top |
java-programmer >> netbean5 packaging travail
Hi Michael
Thanks for the response. However I still dont understand the naming. The EL
expression "${libs.swing-layout.classpath}" I understand as a Library module
called swing-layout. (That is not the full name, how does it know the correct
one). But what is the classpath component? Further how are you using, the
naming file.reference? Where should the jars be for your reference? Could
your reference be rewritten as "${libs.ojdbc14.classpath}" if you created
that jar as a Library? Where is this nomenclature documented? Is this Ant1.
6? Thanks for any help.
Kroll, Michael wrote:
>Hello,
>
>I don't now it works for you.
>I pack some extra packages for example:
>
> <target name="-post-jar">
> <jar update="true" destfile="${dist.jar}">
> <zipfileset src="${libs.swing-layout.classpath}" />
> <zipfileset src="${file.reference.ojdbc14.jar}" />
> <zipfileset src="${file.reference.looks-1.3.1.jar}" />
> </jar>
> </target>
>
>I hope it help you.
>
>Regards
>Michael
>
--
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-tools/200602/1
|
| |
|
| |
 |
C P via JavaKB.com

|
Posted: 2006-2-11 3:39:00 |
Top |
java-programmer >> netbean5 packaging travail
Hi Michael
Thanks. However I still dont understand the naming convention. I somewhat
understand the EL phrase "${lib.swing-layout.classpath}", but the the jar
really is called swing-layout-1.0.jar. How does it know the exact one to
pick? Also what does the classpath component indicate? That it wants the
jar on the classpath? Isnt that redundant?
Finally, newbies have these torrents of questions grin, where must the jars
be for your reference to work? Could your reference be re-written as "${lib.
ojdbc14.classpath}"? This nomenclature, is its namespace for Ant1.6 and is
that where I should followup? Thanks for any additional help
Kroll, Michael wrote:
>Hello,
>
>I don't now it works for you.
>I pack some extra packages for example:
>
> <target name="-post-jar">
> <jar update="true" destfile="${dist.jar}">
> <zipfileset src="${libs.swing-layout.classpath}" />
> <zipfileset src="${file.reference.ojdbc14.jar}" />
> <zipfileset src="${file.reference.looks-1.3.1.jar}" />
> </jar>
> </target>
>
>I hope it help you.
>
>Regards
>Michael
>
--
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-tools/200602/1
|
| |
|
| |
 |
| |
 |
Index ‹ java-programmer |
- Next
- 1
- negative dns caching problem *resolved* (was Re: JDK 1.5.0 patchsetAfter months of fighting with this, today I stumbled upon the answer. It
was a java command line test case that led me to it.
>From the command line, FreeBSD's JDK does -exactly- what it is supposed to
with negative caching. My test case involved restarting BIND, adding a
firewall rule for a host's name servers, having Java try to resolve the
name (and of course fail), having Java wait while removing the firewall
rule and having Java try again to resolve the name. All the while I was
watching network traffic with tcpdump.
Exactly as it is supposed to, the JDK tried again and succeeded after I
removed the firewall rule.
So this meant that it had to be something to do with Tomcat or
commons-daemon/jsvc.
On a whim, I removed the entry for Tomcat's native libraries, and it
started to work correctly.
Then I did an ldd against libtcnative, and found that I had compiled it
with gcc 4.2.1. Knowing that there are problems with gcc 4.2, I
recompiled with gcc 3.4.6. It continues to work correctly.
So this turned out to be a multi-pronged problem. Earlier I was building
a version of the JDK that somehow never read java.security, and that
required wiping out the work directory entirely and bootstrapping off the
Diablo JDK. Then, something about compiling the Tomcat native libraries
with gcc 4.2.1 was apparently creating this bad behaviour situation.
So if you're using Tomcat, and you want to use the Tomcat native
libraries, do not compile them with gcc 4.2. In fact, you probably will
want to make sure you compile them with the same major.minor version of
gcc you used to compile libapr just to be safe. The Tomcat native library
IS capable of screwing your DNS resolution.
Nick
On Sun, 28 Oct 2007, Nick Johnson wrote:
> Sadly, this does NOT correct the eternal negative caching problem. That
> problem still remains, even though I've configured the JDK not to cache
> negative results at all.
>
> I can do a tcpdump and see that the JDK makes no attempt whatsoever to
> query a host again after it has previously timed out. Nothing I've tried
> to fix the problem has had any effect.
>
> Nick
>
> On Fri, 26 Oct 2007, Nick Johnson wrote:
>
> > It remains to be seen whether this will resolve the problems I've been
> > having with InetAddress caching, but I am hopeful that it will.
>
>
--
"Courage isn't just a matter of not being frightened, you know. It's being
afraid and doing what you have to do anyway."
Doctor Who - Planet of the Daleks
This message has been brought to you by Nick Johnson 2.3b1 and the number 6.
http://healerNick.com/ http://morons.org/ http://spatula.net/
_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"
- 2
- 3
- linux-jdk 1.6.0 ("mustang")Hello!
I would like to know if somebody had good experience running jdk 1.6.0
"mustang" on 6.0?
P.S. Sorry for short question 8)
--
NEVE-RIPE, will build world for food
Ukrainian FreeBSD User Group
http://uafug.org.ua/
- 4
- Java speed vs. C++.Mike Cox wrote:
> Hi. I recently ran a benchmark against two simple programs, one
written in
> Java and the other in C++. The both accomplish the same thing,
outputting
> "Hello World" on my screen. The C++ program took .5 seconds to
complete on
> my 400 Mhz PC while the Java program took 6.5 seconds.
>
> I am running the SUSE 8.2 Linux distribution.
>
> Why is Java that much slower than the C++ program? I read on
Slashdot that
> Java was almost as fast as C++. Here are my programs:
>
> test.cpp
>
> #include <iostream>
> using namespace std;
> int main()
> {
> cout<<"Hello World";
> }
>
>
> test.java
>
> public class test
> {
> public static void main(String[] args)
> {
> System.out.println("Hello world");
> }
> }
>
> The reason I ask is because I'm thinking of using Apache and Jakarta
to do
> some development. If Java cannot be speeded up, I will be forced to
find
> another alternative.
first explain how your super contrived hello world example has any
RELEVANCE what so ever to Apache, Jakarta or anything thing else server
related?
If you are not a troll, then your least worry is the speed of running a
contrived hello world example, it is more like getting much more basic
fundemental understanding about practical programming.
if you are just trolling just stop.
- 5
- switch to editor when renderer gets focusI have a jcombobox as an editor inside a jtable.
I would like to switch to the editor as soon as they enter the column
with the jcombobox in it so they can start editing right away.
This is an editable jcombobox, so when tabbing through the columns in
the jtable, the first key stroke only activates the editor -- so the
second keystroke is being used instead of the first.
entering the column with the jcombobox in it, you have to hit the space
bar or the enter key before you can type in the jcombobox editor.
Otherwise, if you start typing "Smith" in the column, the "S" activates
the combobox editor and the list jumps to the "m" section instead of
the "s" section.
Appreciate the help. TIA
- 6
- Newbie Question: Eclipse RCP - three questionsHi all,
I'm trying to develop Eclipse RCP database based application and I've faced
following problems.
First :
I don't know where can I create and dispose the ImageRegistry ?
Class WorkbenchAdvisor doesn't seem to be right place to do this, I couldn't
find the method
like initializeImageRegistry.
Second:
Where should I keep for example the database connections or references to
the beans
shared among different parts of the application especially further plugins ?
Third:
Is there any example of the real database driven RCP application with source
code available
or at least an article describing this topic ?
Thank's in advance
--
Marcin Misiewicz
- 7
- Eclipse 3.1.1_3 / jdk-1.5.0p2_3 core dump#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x2865b2dc, pid=65081, tid=0x8060000
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-p2-rinyu_02_jan_2006_11_07 mixed mode)
# Problematic frame:
# C [libzip.so+0x102dc] inflate_fast+0xcc
#
--------------- T H R E A D ---------------
Current thread (0x08060c00): JavaThread "main" [_thread_in_native, id=134610944]
siginfo:si_signo=11, si_errno=0, si_code=12, si_addr=0x0040001b
Registers:
EAX=0x0040001b, EBX=0x2865f914, ECX=0x00000002, EDX=0x08056c80
ESP=0xbfbfc538, EBP=0xbfbfc59c, ESI=0x00001000, EDI=0x00000005
EIP=0x2865b2dc, EFLAGS=0x00010206
Top of Stack: (sp=0xbfbfc538)
0xbfbfc538: 2807d900 280763f8 280763f8 2865b210
0xbfbfc548: bfbfc578 2805a224 2807a864 00000001
0xbfbfc558: 00000000 00000001 00000000 00000001
0xbfbfc568: 2807d900 00000000 b42ad500 00000000
0xbfbfc578: 000a0008 00060004 000c0003 00090008
0xbfbfc588: 00090008 0833e000 0040001b 45175424
0xbfbfc598: 00001000 bfbfc62c 4516a188 0833b00c
0xbfbfc5a8: 00001000 0000001b 0833e064 0833e050
Instructions: (pc=0x2865b2dc)
0x2865b2cc: d4 23 45 ec c1 e0 03 03 45 10 89 45 f4 8b 45 f4
0x2865b2dc: 0f b6 00 89 45 f0 8b 45 f0 85 c0 75 34 8b 45 f4
Stack: [0xbfa00000,0xbfc00000), sp=0xbfbfc538, free space=2033k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libzip.so+0x102dc] inflate_fast+0xcc
C [libz.so.3+0x5188] inflate+0xea8
C [libfreetype.so.9+0x26887] FTC_SBitCache_Lookup+0x88e7
C [libfreetype.so.9+0x269cb] FTC_SBitCache_Lookup+0x8a2b
C [libfreetype.so.9+0x26a69] FTC_SBitCache_Lookup+0x8ac9
C [libfreetype.so.9+0x7421] FT_Stream_EnterFrame+0x61
C [libfreetype.so.9+0x7a7d] FT_Stream_ReadFields+0x7d
C [libfreetype.so.9+0x2c7cc] FT_Stream_OpenLZW+0x574c
C [libfreetype.so.9+0x2db55] FT_Stream_OpenLZW+0x6ad5
C [libfreetype.so.9+0x2e398] FT_Stream_OpenLZW+0x7318
C [libfreetype.so.9+0xadb7] FT_Load_Char+0x3f7
C [libfreetype.so.9+0xba7c] FT_Open_Face+0x16c
C [libfreetype.so.9+0xae88] FT_New_Face+0x48
C [libfontconfig.so.1+0x131b5] FcFreeTypeQuery+0xb5
C [libfontconfig.so.1+0x12598] FcFileScanConfig+0x218
C [libfontconfig.so.1+0x1291a] FcDirScanConfig+0x1fa
C [libfontconfig.so.1+0xcd5d] FcConfigBuildFonts+0xbd
C [libfontconfig.so.1+0x15f7f] FcInitLoadConfigAndFonts+0x2f
C [libfontconfig.so.1+0x15fc7] FcInit+0x27
C [libfontconfig.so.1+0xce82] FcConfigGetCurrent+0x22
C [libfontconfig.so.1+0x17f1e] FcFontList+0x1e
C [libpangoft2-1.0.so.0+0x832c] _pango_fc_font_map_remove+0x25c
C [libpango-1.0.so.0+0x14776] pango_font_map_list_families+0x56
C [libpango-1.0.so.0+0x11757] pango_context_list_families+0xb7
C [libswt-pi-gtk-3139.so+0x33724] Java_org_eclipse_swt_internal_gtk_OS__1pango_1context_1list_1families+0x74
j org.eclipse.swt.internal.gtk.OS._pango_context_list_families(I[I[I)V+0
j org.eclipse.swt.internal.gtk.OS.pango_context_list_families(I[I[I)V+10
j org.eclipse.swt.graphics.Device.getFontList(Ljava/lang/String;Z)[Lorg/eclipse/swt/graphics/FontData;+53
j org.eclipse.jface.resource.FontRegistry.bestData([Lorg/eclipse/swt/graphics/FontData;Lorg/eclipse/swt/widgets/Display;)Lorg/eclipse/swt/graphics/FontData;+51
j org.eclipse.jface.resource.FontRegistry.bestDataArray([Lorg/eclipse/swt/graphics/FontData;Lorg/eclipse/swt/widgets/Display;)[Lorg/eclipse/swt/graphics/FontData;+3
j org.eclipse.ui.internal.themes.ThemeElementHelper.installFont(Lorg/eclipse/ui/internal/themes/FontDefinition;Lorg/eclipse/ui/themes/ITheme;Lorg/eclipse/jface/preference/IPreferenceStore;Z)V+107
j org.eclipse.ui.internal.themes.ThemeElementHelper.populateRegistry(Lorg/eclipse/ui/themes/ITheme;[Lorg/eclipse/ui/internal/themes/FontDefinition;Lorg/eclipse/jface/preference/IPreferenceStore;)V+84
j org.eclipse.ui.internal.Workbench.initializeFonts()V+29
j org.eclipse.ui.internal.Workbench.init(Lorg/eclipse/swt/widgets/Display;)Z+527
j org.eclipse.ui.internal.Workbench.runUI()I+39
j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+11
j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2
j org.eclipse.ui.internal.ide.IDEApplication.run(Ljava/lang/Object;)Ljava/lang/Object;+98
j org.eclipse.core.internal.runtime.PlatformActivator$1.run(Ljava/lang/Object;)Ljava/lang/Object;+257
j org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+170
j org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+57
v ~StubRoutines::call_stub
V [libjvm.so+0x25c581]
V [libjvm.so+0x34fb15]
V [libjvm.so+0x25c3db]
V [libjvm.so+0x371a49]
V [libjvm.so+0x3744b6]
V [libjvm.so+0x2bad54]
C [libjava.so+0xc142] Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x22
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+111
j org.eclipse.core.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+181
j org.eclipse.core.launcher.Main.basicRun([Ljava/lang/String;)V+107
j org.eclipse.core.launcher.Main.run([Ljava/lang/String;)I+4
j org.eclipse.core.launcher.Main.main([Ljava/lang/String;)V+10
v ~StubRoutines::call_stub
V [libjvm.so+0x25c581]
V [libjvm.so+0x34fb15]
V [libjvm.so+0x25c3db]
V [libjvm.so+0x26543f]
V [libjvm.so+0x2724cb]
C [java+0x3ae2] _init+0x2ba6
C [java+0x1389] _init+0x44d
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.eclipse.swt.internal.gtk.OS._pango_context_list_families(I[I[I)V+0
j org.eclipse.swt.internal.gtk.OS.pango_context_list_families(I[I[I)V+10
j org.eclipse.swt.graphics.Device.getFontList(Ljava/lang/String;Z)[Lorg/eclipse/swt/graphics/FontData;+53
j org.eclipse.jface.resource.FontRegistry.bestData([Lorg/eclipse/swt/graphics/FontData;Lorg/eclipse/swt/widgets/Display;)Lorg/eclipse/swt/graphics/FontData;+51
j org.eclipse.jface.resource.FontRegistry.bestDataArray([Lorg/eclipse/swt/graphics/FontData;Lorg/eclipse/swt/widgets/Display;)[Lorg/eclipse/swt/graphics/FontData;+3
j org.eclipse.ui.internal.themes.ThemeElementHelper.installFont(Lorg/eclipse/ui/internal/themes/FontDefinition;Lorg/eclipse/ui/themes/ITheme;Lorg/eclipse/jface/preference/IPreferenceStore;Z)V+107
j org.eclipse.ui.internal.themes.ThemeElementHelper.populateRegistry(Lorg/eclipse/ui/themes/ITheme;[Lorg/eclipse/ui/internal/themes/FontDefinition;Lorg/eclipse/jface/preference/IPreferenceStore;)V+84
j org.eclipse.ui.internal.Workbench.initializeFonts()V+29
j org.eclipse.ui.internal.Workbench.init(Lorg/eclipse/swt/widgets/Display;)Z+527
j org.eclipse.ui.internal.Workbench.runUI()I+39
j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+11
j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2
j org.eclipse.ui.internal.ide.IDEApplication.run(Ljava/lang/Object;)Ljava/lang/Object;+98
j org.eclipse.core.internal.runtime.PlatformActivator$1.run(Ljava/lang/Object;)Ljava/lang/Object;+257
j org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+170
j org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+57
v ~StubRoutines::call_stub
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+111
j org.eclipse.core.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+181
j org.eclipse.core.launcher.Main.basicRun([Ljava/lang/String;)V+107
j org.eclipse.core.launcher.Main.run([Ljava/lang/String;)I+4
j org.eclipse.core.launcher.Main.main([Ljava/lang/String;)V+10
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x081af600 JavaThread "Worker-4" daemon [_thread_blocked, id=135985152]
0x09239e00 JavaThread "Worker-3" daemon [_thread_blocked, id=153030656]
0x09220800 JavaThread "Worker-2" daemon [_thread_blocked, id=153225728]
0x09220400 JavaThread "Worker-1" daemon [_thread_blocked, id=153224704]
0x09220000 JavaThread "Worker-0" daemon [_thread_blocked, id=153223680]
0x084b0400 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=139134464]
0x0849fe00 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=139132928]
0x08484600 JavaThread "State Data Manager" daemon [_thread_blocked, id=138954752]
0x08190400 JavaThread "process reaper" daemon [_thread_in_native, id=135857664]
0x08140c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=135532032]
0x08140800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=135531008]
0x08140400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=135529984]
0x08140000 JavaThread "Finalizer" daemon [_thread_blocked, id=135528960]
0x0806bc00 JavaThread "Reference Handler" daemon [_thread_blocked, id=134659584]
=>0x08060c00 JavaThread "main" [_thread_in_native, id=134610944]
Other Threads:
0x08130100 VMThread [id=134658560]
0x0805ac00 WatcherThread [id=135660032]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 2880K, used 2457K [0x2d570000, 0x2d880000, 0x2e920000)
eden space 2624K, 87% used [0x2d570000, 0x2d7abf40, 0x2d800000)
from space 256K, 66% used [0x2d800000, 0x2d82a6f8, 0x2d840000)
to space 256K, 0% used [0x2d840000, 0x2d840000, 0x2d880000)
tenured generation total 37824K, used 15811K [0x2e920000, 0x30e10000, 0x3d570000)
the space 37824K, 41% used [0x2e920000, 0x2f890d88, 0x2f890e00, 0x30e10000)
compacting perm gen total 8192K, used 8069K [0x3d570000, 0x3dd70000, 0x41570000)
the space 8192K, 98% used [0x3d570000, 0x3dd51600, 0x3dd51800, 0x3dd70000)
No shared spaces configured.
Dynamic libraries:
0x08048000 /usr/local/jdk1.5.0/bin/java
0x28083000 /usr/lib/libpthread.so.2
0x280a9000 /lib/libc.so.6
0x281a0000 /usr/local/jdk1.5.0/jre/lib/i386/client/libjvm.so
0x285f4000 /lib/libm.so.4
0x2860e000 /usr/local/jdk1.5.0/jre/lib/i386/native_threads/libhpi.so
0x2861f000 /usr/local/jdk1.5.0/jre/lib/i386/libverify.so
0x2862c000 /usr/local/jdk1.5.0/jre/lib/i386/libjava.so
0x2864b000 /usr/local/jdk1.5.0/jre/lib/i386/libzip.so
0x41855000 /usr/local/jdk1.5.0/jre/lib/i386/libnet.so
0x41866000 /usr/local/jdk1.5.0/jre/lib/i386/libnio.so
0x44bc2000 /usr/home/rinyu/.eclipse/org.eclipse.platform_3.1.1/configuration/org.eclipse.osgi/bundles/34/1/.cp/libswt-pi-gtk-3139.so
0x44c05000 /usr/X11R6/lib/libgtk-x11-2.0.so.0
0x44f08000 /usr/local/lib/libgthread-2.0.so.0
0x44f0c000 /usr/X11R6/lib/libXtst.so.6
0x44f11000 /usr/X11R6/lib/libgdk_pixbuf-2.0.so.0
0x44f28000 /usr/X11R6/lib/libgdk-x11-2.0.so.0
0x44fac000 /usr/X11R6/lib/libXrandr.so.2
0x44fb0000 /usr/X11R6/lib/libXrender.so.1
0x44fb8000 /usr/X11R6/lib/libXi.so.6
0x44fc0000 /usr/X11R6/lib/libXinerama.so.1
0x44fc3000 /usr/X11R6/lib/libXext.so.6
0x44fd1000 /usr/X11R6/lib/libX11.so.6
0x4509b000 /usr/X11R6/lib/libpangocairo-1.0.so.0
0x450a2000 /usr/X11R6/lib/libpangoft2-1.0.so.0
0x450c9000 /usr/X11R6/lib/libfontconfig.so.1
0x450f9000 /usr/local/lib/libfreetype.so.9
0x45165000 /lib/libz.so.3
0x45176000 /usr/X11R6/lib/libpango-1.0.so.0
0x451af000 /usr/local/lib/libatk-1.0.so.0
0x451c8000 /usr/local/lib/libgobject-2.0.so.0
0x45202000 /usr/local/lib/libgmodule-2.0.so.0
0x45206000 /usr/local/lib/libglib-2.0.so.0
0x4528d000 /usr/local/lib/libiconv.so.3
0x4537a000 /usr/local/lib/libcairo.so.2
0x453d0000 /usr/local/lib/libintl.so.6
0x453da000 /usr/X11R6/lib/libXcursor.so.1
0x453e3000 /usr/X11R6/lib/libXfixes.so.3
0x453e8000 /usr/local/lib/libexpat.so.5
0x4540a000 /usr/local/lib/libpng.so.5
0x4542f000 /usr/local/lib/libglitz.so.1
0x45458000 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
0x45482000 /usr/home/rinyu/.eclipse/org.eclipse.platform_3.1.1/configuration/org.eclipse.osgi/bundles/34/1/.cp/libswt-gtk-3139.so
0x28055000 /libexec/ld-elf.so.1
VM Arguments:
jvm_args: -Xms40m -Xmx256m
java_command: /usr/local/eclipse/startup.jar -os freebsd -ws gtk -arch x86 -launcher /usr/local/eclipse/eclipse -name Eclipse -showsplash 600 -exitdata 1260004 -vm /usr/local/bin/java -vmargs -Xms40m -Xmx256m -jar /usr/local/eclipse/startup.jar
Environment Variables:
JAVA_HOME=/usr/local/jdk1.5.0
PATH=/usr/local/bin:/home/rinyu/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/usr/local/Gamess:/usr/local/Mopac93
LD_LIBRARY_PATH=/usr/local/jdk1.5.0/jre/lib/i386/client:/usr/local/jdk1.5.0/jre/lib/i386:/usr/local/jdk1.5.0/jre/../lib/i386:/usr/X11R6/lib/mozilla::/usr/X11R6/lib/mozilla
SHELL=/bin/csh
DISPLAY=:0.0
HOSTTYPE=FreeBSD
OSTYPE=FreeBSD
MACHTYPE=i386
--------------- S Y S T E M ---------------
OS:FreeBSD
uname:FreeBSD 6.0-STABLE FreeBSD 6.0-STABLE #0: Tue Jan 3 08:01:57 CET 2006 email***@***.com:/usr/obj/usr/src/sys/MYKERNEL i386
rlimit: STACK 65536k, CORE infinity, NOFILE 11095
CPU:total 1 family 6, cmov, cx8, fxsr, mmx
Memory: 4k page, physical 1364144k
vm_info: Java HotSpot(TM) Client VM (1.5.0-p2-rinyu_02_jan_2006_11_07) for freebsd-x86, built on Jan 2 2006 12:16:08 by root with gcc 3.4.4 [FreeBSD] 20050518
-------------------------------------------------------------------------------
DMESG:
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.0-STABLE #0: Tue Jan 3 08:01:57 CET 2006
email***@***.com:/usr/obj/usr/src/sys/MYKERNEL
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) XP 3000+ (2162.74-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
AMD Features=0xc0400800<SYSCALL,MMX+,3DNow+,3DNow>
real memory = 1610547200 (1535 MB)
avail memory = 1564954624 (1492 MB)
mptable_probe: MP Config Table has bad signature: 4\^C\^_
ACPI APIC Table: <Nvidia AWRDACPI>
ioapic0 <Version 1.1> irqs 0-23 on motherboard
acpi0: <Nvidia AWRDACPI> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <NVIDIA nForce2 AGP Controller> mem 0xe0000000-0xe3ffffff at device 0.0 on pci0
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
pci0: <memory, RAM> at device 0.3 (no driver attached)
pci0: <memory, RAM> at device 0.4 (no driver attached)
pci0: <memory, RAM> at device 0.5 (no driver attached)
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xe9085000-0xe9085fff irq 20 at device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <OHCI (generic) USB controller> mem 0xe9082000-0xe9082fff irq 21 at device 2.1 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xe9083000-0xe90830ff irq 22 at device 2.2 on pci0
ehci0: [GIANT-LOCKED]
usb2: EHCI version 1.0
usb2: companion controllers, 4 ports each: usb0 usb1
usb2: <EHCI (generic) USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
nve0: <NVIDIA nForce MCP2 Networking Adapter> port 0xc400-0xc407 mem 0xe9084000-0xe9084fff irq 20 at device 4.0 on pci0
nve0: Ethernet address 00:11:2f:b6:ba:d0
miibus0: <MII bus> on nve0
rlphy0: <RTL8201L 10/100 media interface> on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
nve0: Ethernet address: 00:11:2f:b6:ba:d0
pci0: <multimedia, audio> at device 5.0 (no driver attached)
pcm0: <nVidia nForce2> port 0xb000-0xb0ff,0xb400-0xb47f mem 0xe9080000-0xe9080fff irq 22 at device 6.0 on pci0
pcm0: <Avance Logic ALC650 AC97 Codec>
pcib1: <ACPI PCI-PCI bridge> at device 8.0 on pci0
pci1: <ACPI PCI bus> on pcib1
skc0: <Marvell Gigabit Ethernet> port 0x9000-0x90ff mem 0xe8000000-0xe8003fff irq 17 at device 4.0 on pci1
skc0: Marvell Yukon Lite Gigabit Ethernet rev. A3(0x7)
sk0: <Marvell Semiconductor, Inc. Yukon> on skc0
sk0: Ethernet address: 00:11:2f:b6:c4:40
miibus1: <MII bus> on sk0
e1000phy0: <Marvell 88E1000 Gigabit PHY> on miibus1
e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto
pci1: <network> at device 5.0 (no driver attached)
atapci0: <nVidia nForce2 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 9.0 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci3: <ACPI PCI bus> on pcib2
nvidia0: <GeForce FX 5200> mem 0xe5000000-0xe5ffffff,0xd0000000-0xdfffffff irq 19 at device 0.0 on pci3
nvidia0: [GIANT-LOCKED]
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcefff,0xd0000-0xd3fff,0xd4000-0xd57ff,0xd6000-0xd6fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 2162744203 Hz quality 800
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default
ad0: 152627MB <SAMSUNG SP1614N TM100-30> at ata0-master UDMA100
acd0: DVDROM <HL-DT-STDVD-ROM GDR8163B/0L23> at ata1-master UDMA33
acd1: CDRW <TEAC CD-W552E/1.13> at ata1-slave UDMA33
Trying to mount root from ufs:/dev/ad0s1a
NVRM: detected agp.ko, aborting NVIDIA AGP setup!
pid 65081 (java), uid 1001: exited on signal 6 (core dumped)
Best regards,
Laszlo Rinyu
--
===========================================================================
---------------------------------------------------------------------------
Laszlo Rinyu
junior researcher
Institute of Nuclear Research of the Hungarian Academy of Sciences (ATOMKI)
Laboratory of Environmental Studies
H-4001 Debrecen, Bem sqr. 18/c, Pf.: 51,
Hungary
Tel : +36-52-509-200 / 11405
Fax : +36-52-509-282
Home: +36-30-2-580-114
e-mail: email***@***.com
---------------------------------------------------------------------------
===========================================================================
- 8
- Strange JFrame / JPanel behaviourDear friends,
I have a problem with a JFrame (NewJFrame) and a JPanel (JP) subclass.
NewJFrame acts as a container for JP. Now, let's suppose that "a" is a
JP instance variable, with public modifier, to put it simple.
So, if I want to modify "a" from NewJFrame, and JP is a NewJframe's
instance variable, it can be done as follows:
jp.a = 8; // for instance
so far so good.
But, I've found a strange behaviour: when I try to print "a" from JP's
paintComponent() (overloaded), its value remains unchanged.
Here is the code, edited with Netbeans:
// ===================================================================
/**
*
* "container" JFrame
*/
public class NewJFrame extends javax.swing.JFrame {
private javax.swing.JMenu jMenu1;
private javax.swing.JMenu jMenu2;
private javax.swing.JMenuBar jMenuBar1;
private javax.swing.JMenuBar jMenuBar2;
private javax.swing.JMenuItem jMenuItem1;
private JP j = new JP();
public NewJFrame() {
initComponents();
}
private void initComponents() {
jMenuBar1 = new javax.swing.JMenuBar();
jMenu1 = new javax.swing.JMenu();
jMenuBar2 = new javax.swing.JMenuBar();
jMenu2 = new javax.swing.JMenu();
jMenuItem1 = new javax.swing.JMenuItem();
jMenu1.setText("Menu");
jMenuBar1.add(jMenu1);
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jMenu2.setText("Menu");
jMenuItem1.setText("Item");
jMenuItem1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jMenuItem1ActionPerformed(evt);
}
});
jMenu2.add(jMenuItem1);
jMenuBar2.add(jMenu2);
setJMenuBar(jMenuBar2);
pack();
}
// </editor-fold>
// modify "a" from NewJFrame
private void jMenuItem1ActionPerformed(java.awt.event.ActionEvent evt) {
j.a++;
System.out.println("a: "+ j.a);
j.repaint();
System.out.println("a: "+ j.a);
}
public void init2(){
JP j = new JP();
getContentPane().add(j, java.awt.BorderLayout.CENTER);
pack();
}
public static void main(String args[]) {
NewJFrame n = new NewJFrame();
n.init2();
n.setVisible(true);
System.out.println(n.j);
n.j.a = 3;
System.out.println(n.j.a);
}
}
// "extended" JPanel
import java.awt.Graphics;
import javax.swing.JPanel;
/**
*
* extended JPanel
*/
public class JP extends JPanel{
public int a =0;
/** Creates a new instance of JP */
public JP() {
}
public void paintComponent(Graphics g){
System.out.println(this.a);
// [snip]
}
}
=========================================================================
In "jMenuItem1ActionPerformed", (using a JMenu) I tried to
- increment a
- print a (apparently incremented)
- invoke JS repaint, which prints a, again, but NOT incremented... why?
- reprint a: now it says it's incremented!!!
every time I call paintComponent (for example, resizing the component),
it says that a is "its" a.
It seems like paintComponent maintains its own copy of a, with the
unchanged value, or that paintComponent doesn't see any update to a...
Is it a mistake (I hope) or a bug?
Any help would be appreciated.
- 9
- 10
- Ant : how can I use properties to store nested elementHi all,
I have a build script which uses <fileset> nested in <path> to store
the classpath and then this <path> is used in javac. e.g.
<path id="MY_CLASSPATH">
<fileset dir="${build.dir.lib}" includes="**/*.*"/>
<fileset file="${global.lib.j2ee}"/>
</path>
<javac
srcdir = "${project.compile.src}"
destdir = "${project.compile.dest}">
<classpath>
<path refid="MY_CLASSPATH"/>
</classpath>
</javac>
I just wondering is it possible to store the fileset in the properties
file so that I can reference it in other place? I want to do a fileset
instead of writing all the jar file names explicitly.
e.g.
In the properties file:
project.compile.classpath=dir:${build.dir.lib}:file:${global.lib.j2ee}
(or something like that....)
then in my build.xml:
<javac
srcdir = "${project.compile.src}"
destdir = "${project.compile.dest}">
classpath = "${project.compile.classpath}">
</javac>
- 11
- Thin Client SelectWhat is the equivalent in thin client of selecting a row in a JTable?
Do you have to fake a giant radio form?
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
- 12
- Generic file name validation code?I need to validate a file name but it has to work on Windows & Unix!
Does anybody know of java code that does this?
thanks in advance
harry
- 13
- Printing questionsHello!
I'm trying to develop an application to print PDF files, using JPedal.
Two questions:
1) I'd like users can specify printing properties, like size,
margins... following an example on JPedal site I tryed:
// new attribute set
PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
// dialog
printJob.printDialog(aset);
// read dialog properties
PageRanges r = (PageRanges)aset.get(PageRanges.class);
PageFormat pf = (PageFormat)aset.get(PageFormat.class);
but it doesn't work... :(
Is there a way to set those parameters via code? I need to set margins
to 0,0,0,0...
2) I'd like to improve the quality of printed docs... I think it uses
a very low quality to render my PDF (like 72dpi or so), is there a way
to increase dpi? In a PDFProducer for TFax I was able to do that
passing a bigger BufferedImage to Jpedal, is there a way to do the
same thing here (without redifining the print() method)?
Thanks!
- 14
- How to identify the cause of ClassCastException?Hi,
I have two classes: State and WarmState.
public class State
{
... //many fields
}
public class WarmState extends State
{
... //more fields
}
Now, I have a State reference state, whose corresponding object was
created and filled. I believe/guess/thought it is a WarmState object.
Now I need to pass state to a method which only take WarmState
parameter. So I cast state to WarmState type. But I ran into
ClassCastException. Like I said, state was created and loaded from a xml
file. I hope to find out what caused ClassCastException. But neither of
these gave me a clue:
e.getMessage()
e.getLocalMessage()
e.printStackTrace()
Thank you for your help.
- 15
- Candy Cigarette !!Candy Cigarette
http://www.cigarettes--online.com/promo/candy-cigarette.html
candy cigarette brands are without a doubt one of the most renowned
tobacco brands
in the market.
Discount candy cigarette Store offers cheap discount US made cigarette
online.
candy cigarette, are available at discount prices from our online US
made cigars
shop for immediate shipment. Our cheap candy cigarette are delivered
to your door.
More Info here >>>
http://www.cigarettes--online.com/promo/candy-cigarette.html
|
|
|