Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
48% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
5
Posts with Downvotes
3
Downvoting Members
5
5 Commented Posts
~40.2K People Reached

62 Posted Topics

Member Avatar for Archenemie

[QUOTE=javaAddict;1062535]I agree. I prefer to write my own gui. Surely I also use a Gui Builder but just to quickly declare and place the elements. But most of the times I do them on my own. It is hard to use a gui builder to create dynamically a list of …

Member Avatar for dotxyteam
0
2K
Member Avatar for debasisdas

Be wary with the things you dream about because their consequences can easily be your nightmares! If this was a miracle of God, then what can Evil have up his sleeve?!

Member Avatar for James_28
8
17K
Member Avatar for gauravagg2

[URL="http://en.wikipedia.org/wiki/Distributed_hash_table"]DHT[/URL] Well, the main idea is that there is a data with an unique natural key, and then everybody writes some information about it which is stored on their own comp. Then the programs connect like torrent clients, and everybody can query the datas. For example the key can be …

Member Avatar for JamesCherrill
0
557
Member Avatar for MoZo1

It's ugly: https://www.sugarsync.com/piv/D435904_81_8707554623 My guess is the monitor cable. But help is welcome: I don't wana take it apart. This is my first mac, never fixed any before. So I would thankful for a software problem. ps.: Due to dammed design "flaws", I cannot just take the monitor and plug …

Member Avatar for sheikhali449
0
158
Member Avatar for falconmick

There is also Hackintosh, an OsX which you can install on a "non-Apple hardware". I was trying it when lion came out, but Snow Leo had no stable drivers (kexts) for my x64 PC, and Lion was still unusable. Should retry soon...

Member Avatar for MoZo1
0
279
Member Avatar for happygeek

Adobe has two uses: - Unaccessible homepage content for cheap ppl that cannot use CSS3 and JS: If you think accessibility is not an issue for you, just try using ctrl+f search. It is! What a text to speech engine cannot read, you cannot search. - Reatarded programing language for …

Member Avatar for MoZo1
0
651
Member Avatar for Haridha

You can check the apple store for first hand buy, but that only applyes in the USA. In case you cannot buy it in the USA, or have sby do it for you, prices will differ greatly. There are Apple retailers in almost every country with different but always higher …

Member Avatar for MoZo1
0
228
Member Avatar for MoZo1

Okey, so I'm new with mac, this must be an easy question: So far I've learned to do autorun, and make it hidden in sys prefs -> account -> Login items. My problem is that this doesn't work with the dashboard. I've found the dashboard.app, added it, checked the hidden …

Member Avatar for MoZo1
0
243
Member Avatar for MoZo1

Hi! I'm using Snow Leo with iMac, and it's continuously getting slower and slower to startup. It's 35 sec (without weird HDD) at fresh install or after clearing PRAM. After 3 days now it's 50-60 sec. Last time before I've found out the PRAM trick, it was 90-120 sec. Also …

Member Avatar for jingda
0
604
Member Avatar for MoZo1

I have this mouse: [url]http://www.pointofview-online.com/showroom.php?shop_mode=product_detail&product_id=45[/url] And I can't find any driver. But my system properly handles it as an USB HID compatible mouse, I think this is why there is no driver. I just can't configure the 2 additional buttons. So I think I would need an universal USB HID …

Member Avatar for stevemarker
0
1K
Member Avatar for MoZo1

This prints NULL: [CODE=Java]String sss = System.getSecurityManager() == null ? "NULL" : System.getSecurityManager().getClass().getName(); System.out.println(sss);[/CODE] And this throws exception: [CODE]ServerSocket serversocket = new ServerSocket(80);[/CODE] This one: [CODE]Exception in thread "main" java.lang.Error: java.net.BindException: Permission denied at httpserver.HTTPServer.main(HTTPServer.java:68) Caused by: java.net.BindException: Permission denied at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383) at java.net.ServerSocket.bind(ServerSocket.java:328) at java.net.ServerSocket.<init>(ServerSocket.java:194) at …

Member Avatar for MoZo1
0
424
Member Avatar for MoZo1

It's a common problem, there are a lot of google hits, but I could found no working solution. When I leave my computer on and don't use it, and I come back, first only the cursor works, and if I right click, that freezes too. After 1-5 min it recovers …

Member Avatar for MoZo1
0
367
Member Avatar for MoZo1

So I get the error CPU has been disabled by guest os. Power off or restart. But if I power off, it shuts down. I wana run it. Then error again... I tryed: - Disabled all unnecessary hardware. - Turned off USB Legacy support in BIOS. - Found no explicit …

Member Avatar for jingda
0
1K
Member Avatar for MoZo1

Hi! I have been creating animated gifs with flash till now, but since here is HTML5, I don't need flash anymore. But any other program I try (yes, I tried google) want to make me to draw every damn frame one by one, and can't do a simple movement or …

Member Avatar for MoZo1
0
174
Member Avatar for MoZo1

So I have a component that renders very slowly. The problem is that I can only render inside the event handling thready, which shouldn't be freezed. Long ago in pascal/assembly I used backbuffer and page flipping. I've read that Java supports double buffering, but no info about thread safety. So …

Member Avatar for JamesCherrill
0
206
Member Avatar for Arbus

Note: Windows will start the file while opening the folder and not instead, so your files won't be protected. On top of this, [COLOR="Red"]anybody can open that folder[/COLOR] with a 3rd party program or with disabled autorun, so it's not real security.

Member Avatar for aquamarine_kath
0
598
Member Avatar for pro_learner

I can't help with the main problem, but a good workaround can be to use force shutdown: [CODE]shutdown -f -s -t 01[/CODE] You can type it into any run dialog, into any command line, or you can make a bat file on the desktop.

Member Avatar for uv4u
0
249
Member Avatar for MoZo1

Original question:[url]http://forums.sun.com/thread.jspa?threadID=5323307[/url] [quote]So I would like to include a bean into the same project (as a separated library of course) that uses it, so the project would be self containing, and the bean's code would stay in syncron with the program's one, even if I move it to another computer. …

Member Avatar for MoZo1
0
180
Member Avatar for Statixs

Winamp does aggressively force associations, so it sets the association programatically every time it can. [B]You don't have a problem with windows, but you have with winamp itself![/B] Solutions: - Deselect .avi in [I]winamp's options[/I], so it won't set it. - Deselect automatic association whatever in [I]winamp's options[/I], so you …

Member Avatar for MoZo1
0
113
Member Avatar for MoZo1

Ok, so I want to port my code to windows mobile, and I'm looking for a tutorial. I would like compatibility with WM5, and WM6 is a must. So I'll use the embedded whatever. I've got Visual Studio 2k8 and the 3 addon required to do the job. I've also …

0
148
Member Avatar for i.ibrahem

- 2 integers in 1 line: There must be separator char, so use split()! - A simple for loop... - Condition inside the for loop for even number: mod2=0; &000000001b=0... - Sun is with capital, I guess you want the sum: init a variable then inside the deepest condition where …

Member Avatar for Akill10
0
248
Member Avatar for MoZo1

I have a database application in Java. They want to access the data from primarily Excel2007 and secondarily Visual basic. I need some advice about with what library could I easily add this functionality. I've tried Simple OLE DB Provider with some JNI, but it's unstable and I'm... grrr. So …

0
70
Member Avatar for Jamaican Beauty

Try opening task manager with ctrl+alt+del, close all explorer.exe and when there are no more, use the "new task (run)" from the task manager's menu, and type in explorer. Haven't tried this on Vista, but it helped me out a lot of times on XP and 7 after not working …

Member Avatar for absolute_zero
0
270
Member Avatar for MoZo1

Hi! I'm reading COM port from under java. Like: [ICODE]new RandomAccessFile("COM1", "rw");[/ICODE] I know, it looks dumb, I would be more happy with ActiveX too... But I need the ability to adapt to different kind of systems in the future, and COM can be read as file on almost every …

Member Avatar for MoZo1
0
98
Member Avatar for MoZo1

[CODE=JAVA] setFoo(getFoo() + 1); ... private int foo; public synchronized int getFoo() { return foo; } public synchronized void setFoo(int f) { foo = f; } [/CODE] Easy code for a race condition. Easy solution: [CODE=JAVA] synchronize(o){ o.setFoo(o.getFoo() + 1); } ... private int foo; public synchronized int getFoo() { …

Member Avatar for MoZo1
0
199
Member Avatar for dino2dy

[quote]a store can have many gaming machines of the same type[/quote] Then it's not strictly a many-to-many relationship, but a class-instance: Every gaming machine has a type and a container. Here is an example for many-to-many: [url]http://en.wikipedia.org/wiki/Many-to-many_(data_model[/url]) Notice that if you take an instance of a book, it inherits it's …

Member Avatar for tesuji
0
485
Member Avatar for titan5

[url]http://en.wikipedia.org/wiki/Brute-force_search[/url] [url]http://en.wikipedia.org/wiki/Backtracking[/url] [url]http://en.wikipedia.org/wiki/Dynamic_programming[/url] So to start with bruteforce, you have to test each combination of the dices if it sums to the number you need. Just watch out for combinations and variations, to answer the correct question you've been asked to...

Member Avatar for JamesCherrill
0
1K
Member Avatar for MoZo1

So my grandma wants to use computer. She wants just basic things, like playing dvd and cd, or musics and movies from the harddrive, maybe explore what's on it. I need a program which allows to do this simply, and mainly that is protected from erroneous input. I think something …

0
40
Member Avatar for slingingshot15

First idea is to not use microsoft access! Apache Derby or SQLite is much better and free. Just one example, access doesn't even support EXPLAIN. So: - Why is it going slow? - You probably wasn't following the microsoft rules, and screwed up the design! - I know, but where? …

Member Avatar for MoZo1
-1
92
Member Avatar for tedtdu

You just have to know the name of what you are looking for: [url]http://www.google.com/#q=html+parse+regex[/url]

Member Avatar for JamesCherrill
0
125
Member Avatar for MoZo1

I have the following scenario: There are several trips, each with several people, and each people has several data, like... idk., height, weight, hair color, and of course passport number, name... So the point is to retrieve these from several sources, store them, then make statistics. I'm only interested in …

Member Avatar for MoZo1
0
112
Member Avatar for MoZo1

Hi! I have a windows mobile 5 device, and I would like to make some programs for it. I need a free development environment (compiler and librarys) that runs on winxp. It would be a very big help if I could use my NetBeans which I have experience with. It …

Member Avatar for MoZo1
0
101
Member Avatar for Cort3z

[B]When you pass a string to .split instead of a regex, it uses that string to create a regex, instead of using the original string object you've passed.[/B] This is a bug I make every possible time. :S

Member Avatar for masijade
0
170
Member Avatar for MoZo1

Well, so I have a notebook without CD/DVD drive, and with a special WinXP install CD. I have to reinstall it, and I don't want to buy an external drive. But I have an USB cross cable. So If I plug in the other end of the cable into my …

Member Avatar for MoZo1
0
152
Member Avatar for abalasuriya
Re: Java

[B]This is a sollution for the 2nd question where the [I]static[/I] has been taken out:[/B] [CODE="JAVA"] public class Test { Test t = new Test(); public static void main(String[] args) { try { Test a = new Test(); System.out.println("meowmeow"); System.out.println(a.t); } catch (Throwable e) { System.out.println("Error:"); System.out.println(e.getClass()); System.out.println(e.getMessage()); System.out.println(e.getCause()); e.printStackTrace(); …

Member Avatar for MoZo1
0
116
Member Avatar for sandeepgrandhi

Just download the one with NetBeans, then you'll get a free IDE ready to use out of the box. [URL="http://java.sun.com/javase/downloads/index.jsp"]http://java.sun.com/javase/downloads/index.jsp[/URL] Or do it the hard way: [URL="http://java.sun.com/javase/6/webnotes/install/jdk/install-windows.html"]http://java.sun.com/javase/6/webnotes/install/jdk/install-windows.html[/URL]

Member Avatar for stephen84s
0
126
Member Avatar for LiBOC

Rewriting with if: [code=java] if (i == 0) return strNum; else return strNum.substring(i); [/code] But the substring with the 0 parameter already returns the whole string unchanged, so it's really: [code=java] return strNum.substring(i); [/code] And I think it's wiser to leave for the programmer that wrote the substring function to …

Member Avatar for MoZo1
0
103
Member Avatar for MoZo1

Well, so if I use static initialization blocks to access another static data inside another class: [code=java] public class StaticTestA { public static Queue queue = new LinkedList(); static { System.out.println("A start"); StaticTestC.queue.add("A"); StaticTestA.queue.add("A"); StaticTestB.queue.add("A"); System.out.println("A stop"); } } public class StaticTestB { public static Queue queue = new LinkedList(); …

Member Avatar for JamesCherrill
0
129
Member Avatar for MoZo1

Hi! I would like to do something like this: [url]http://www.adp-gmbh.ch/ora/explainplan.html[/url] with an .mdb file. Thanks!

Member Avatar for MoZo1
0
124
Member Avatar for scru

You suck because you've posted here to ask why! It sucks! Nobody asks "Why do I suck?"! Nobody who doesn't suck enough to do so...

Member Avatar for ddanbe
0
107
Member Avatar for surima
Re: java

[QUOTE=GökhanBarış - Corrected;917178][CODE] for(int i = 1; i<=50; i++) { if( i%10 [COLOR="Red"]==[/COLOR] 0 ) { System.out.println(MyString.charAt(i-1)); } } [/CODE][/QUOTE] Those double equal stuffs made me a big headache when I switched to java too. Also you should verify if you can make an inner and outer loop by 10 …

Member Avatar for kvprajapati
0
76
Member Avatar for mangalatth

[url]http://java.sun.com/docs/books/tutorial/essential/concurrency/interrupt.html[/url] [quote=Link above]A thread sends an interrupt by invoking interrupt on the Thread object for the thread to be interrupted. For the interrupt mechanism to work correctly, the interrupted thread must support its own interruption. [/quote]

Member Avatar for MoZo1
0
72
Member Avatar for loozax

[QUOTE=loozax;918903]Write a JAVA program that will generate/output the following numbers. 1, 2, 4, 7, 11, 16, 32, 39, 47, 56, 66 (using looping)[/QUOTE] Typo: 1, 2, 4, 7, 11, 16, 22, 29, 37, 46, 56 Much easier like this lol! :D

Member Avatar for kvprajapati
0
180
Member Avatar for ragnarok511

Looks like there are a lot of things wrong. Here is my contribution: Base: (formated with NetBeans) [code=java] void printAvailableBooks() { //supposed take a book out of the list if borrowed for (int i = 0; i < numBooks; i++) { if (i < 0) { System.out.println("There are no books …

Member Avatar for kvprajapati
0
166
Member Avatar for Raymoneto

Here is the Java tutorials: [url]http://java.sun.com/docs/books/tutorial/[/url] (And in Java's case the official is the best one of all!) And here is the 2D tutorial: [url]http://java.sun.com/docs/books/tutorial/2d/index.html[/url] To draw graphs, you can do 2 things: - Search a 3rd party (or maybe included official) component that can do it for you. This …

Member Avatar for MoZo1
0
125
Member Avatar for MoZo1

My program is using Access mdb database through ADO. I have Access installed here, but there is no Access on that machine which has the database. There is a query, which takes much more time than it should... My question is: - How can I profile that query (under Access …

0
75
Member Avatar for Bikerbug

It can also be just a motherboard malfunction. 2-3 years ago I've seen a lot of computers with this problem. But thos MBs had originally came with this malfunction.

Member Avatar for caperjack
0
92
Member Avatar for AKJo

Hmm, that red line ends at an unexpected place. First Delphi IDE has a habit underlining the wrong line of code. Watch out! Second it's only the IDE, so if it runs, then it's correct, and you may just have to restart the IDE. :D Of course, red line means …

Member Avatar for AKJo
0
96
Member Avatar for ABKTECH

[b][U][URL="http://delphi.about.com/od/beginners/l/blrtlcopy.htm"]Substring (Link)[/URL] [URL="http://delphi.about.com/od/beginners/l/blrtlstringhand.htm"]String handling routines (Link)[/URL][/U][/b]

Member Avatar for Jacob777
0
172
Member Avatar for Deemar

The correct way for this would be to make your dialog showed modally which would implicitly prevent other forms to be modified. And it would also prevent them to hide your form behind themselves. And also there is that cool pinging sound... :) There was a lot of time I …

Member Avatar for House_of_Dexter
0
3K

The End.