@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3



Comments:

<0> i set ..setSize(400,400); on the JPanel
<1> That's useless.
<1> estSize is a method that you shouldn't even see, that's a design mistake with Swing.
<1> s/est/set/
<2> http://java.sun.com/docs/books/tutorial/uiswing/14painting/problems.html
<0> nope it didnt solved it
<3> think I added that to the topic url site
<3> yeh: http://javafaq.mine.nu/lookup?376
<1> anotherone: The size is controlled by your layout manager.
<1> Which one are you using?
<0> gridbaglayout
<0> mm no
<0> forget it
<0> its border box
<0> let me check if that works
<0> it works



<0> thks
<0> that was my problem
<2> you're not making any freakin sense dude
<0> the Jpanel that i extend had the default layout manager
<0> i forgot to change it
<4> hi
<4> how to define the java path in build.xml?
<5> netbeans generally take a lot of memory?
<5> from netbeans own minimum requirements page "Memory: 384 megabytes
<5> recommended "Memory: 512 megabytes"
<5> thats version 4.0
<5> same for 4.1 as well
<6> why ask if you read the specs yourself? :P
<5> well the specs dont say if it chews up a lot of memory
<5> well java programmers tend to disagree with that so clairfying
<1> Java programmers certainly notice that Netbeans runs slowly, but we generally aren't so bothered about memory, seeing as we have swap.
<6> next to that its not exactly hard to find out how much it can gobble up. And with 5.0 its also easy to finetune it.
<5> crookery yeah i guess
<5> I have Netbeans open right now without any of the background servers running and it's consuming 2.8MB of RAM
<5> the JVM is consuming 80MB of RAM
<5> crookery but yeah or 1/2 GB of ram
<2> if you want a bigger memory hog then go to eclipse
<1> I don't find that to be the case.
<1> Right now it's using 54M.
<2> i'm currently consuming about about 250M
<1> 28M sorry.
<1> Of course, the way you find out how much it is using might be broken.
<2> i'm sure that's it :Z
<1> sabre: Window->Preferences->General->Show Heap Status
<1> Then look at the bottom right.
<1> If you're unhappy, click on the bin logo.
<2> dude i'm looking at what windows tells me
<2> not eclipse
<2> lol
<1> Then you're looking at the wrong thing.
<2> no you are
<2> i'm looking at task manager
<1> It doesn't matter how much memory it *appears* to be using, that just says how much memory the OS has mapped for it.
<2> that's how much memory it is consuming
<1> That's not RAM.
<2> yes it is
<1> It's virtual memory.
<2> whatever you want to call it dude but that's what it takes
<2> acutally it's more like 500M because there is another javaw
<2> it's about the same
<2> but also i'm using more than eclipse..WSAD as well
<2> minimum memory requirement for WSAD is 512
<2> i have 1G of RAM and it's slow as hell
<1> On my machine the amount of 'memory' used by Eclipse is reported to be 144K.
<1> The amount of virtual memory allocated to it is 148K.
<1> I might have been wrong about what the task manager reports; certainly it's harder to tell RAM usage in Linux than Windows.
<5> yeah on linux now
<2> top
<1> wqet: top and ps have a ton of options; you need to understand them before jumping to conclusions.
<1> wqet: Do you have a speed problem?
<2> i bet you have more than one javaw process in top
<1> top can display each thread as if it were a separate process; I can't remember what the default is.
<1> Eclipse has 21 threads for me in Windows.



<7> hi guys
<7> u'll very nice if u could tell me what is (for u) the "better" Open Source Portal Server
<7> i have teste JBoss Portal but it is so "heavy!!"
<7> Apache JetSpeed 2 seems pretty good
<1> Let me guess, it uses too much RAM. ;)
<7> too much of all !
<7> :)
<2> well stay away from websphere then
<7> sure!
<7> but i only want to work with Open Source servers
<1> I hope you use Free hardware too.
<7> :P
<2> good man
<7> so, any suggestion?
<7> JetSpeed?
<7> please! i'm completely lost
<5> crookery nope
<1> wqet: So why are you worried?
<5> didnt say i was
<5> :D
<1> Ok, so just chewing the fat. ;)
<5> :P
<8> how come Fields[2].replaceAll("\"", ""); isnt replpaceing the " when the string is: "5"
<2> try to double escape it \\
<1> MyWorldIsHer: http://mindprod.com/jgloss/regex.html#QUOTING
<1> [sabre is right]
<8> A literal double quote character,
<8> magic to Java, nothing special to regex. " "\"" " "\""
<8> it says what im supposed to do is just one
<8> java wont compile when i do it twice
<8> that doesnt make any since anyways
<1> \\\
<1> Once to make a literal \
<1> Once to make a literal "
<1> Then regex sees it as \"
<8> oh
<1> And you get happy.
<8> still doesnt make any since, how come just escapeing the " wont work?
<2> you must escape the backslash as well...it's a special char
<8> ok, so I've got all of these: Fields[2].replaceAll("\\\"", "");Fields[2].replaceAll("\"", "");Fields[2].replaceAll("\'", ""); and the double quotes are still not stripped
<5> i have hardcoded some non unicode text into my application and when i restarted my netbeans it did not display the text ,it displayed ??????? although i have installed the locale for this non unicode text
<5> have installed a Locale in windows (Arabic(Egypt)) it writes arabic in my application till i restart my application it shows ??? instead of showing the original text ,although i have installed Arabic (Egypt) for handling non unicode text
<2> MyWorldIsHer i don't see \\
<5> how do i get this working in java
<8> ok, im tired of your guessing. thank you for your help.
<5> think it's in the OutputStreamWriter or another stream but why do i need a method for conversion as i hardcoded my arabic text and my locale is arabic ?
<2> MyWorldIsHer you never even tried it
<8> yes i did
<2> <8> ok, so I've got all of these: Fields[2].replaceAll("\\\"",
<2> "");Fields[2].replaceAll("\"", "");Fields[2].replaceAll("\'",
<2> ""); and the double quotes are still not stripped
<8> i get more runtime errors, what yoru saying doesnt make since
<8> Size of ProxyFileList: 7599
<8> i = 1
<8> java.util.regex.PatternSyntaxException: Unexpected internal error near index 1
<8> \
<8> ^
<8> java.util.regex.PatternSyntaxException: Unexpected internal error near index 1
<8> \
<8> ^
<8> at java.util.regex.Pattern.error(Pattern.java:1650)
<8> at java.util.regex.Pattern.compile(Pattern.java:1403)
<8> at java.util.regex.Pattern.<init>(Pattern.java:1124)
<2> idiot
<8> at java.util.regex.Pattern.compile(Pattern.java:817)
<8> at java.lang.String.replaceAll(String.java:2000)
<8> at PhotoDLoad.loadProxies(PhotoDLoad.java:62)
<8> at PhotoDLoad.start(PhotoDLoad.java:23)
<8> at PhotoDLoad.main(PhotoDLoad.java:10)
<8> Press any key to continue...
<8> tyvm.
<5> anyone?


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #java
or
Go to some related logs:

#AllNiteCafe
Your PHP seem to lack MySQL support. Please locate your php.ini file and enable
enlyt.com
patata il-forn
#c++
#AllNiteCafe
nigel mansell Group-B
#linuxhelp
#AllNiteCafe
asm jmp



Home  |  disclaimer  |  contact  |  submit quotes