3,927 Posted Topics

Member Avatar for Dani

I read a few of them now and then, but it's not really something I keep an eye on.

Member Avatar for Ancient Dragon
0
662
Member Avatar for ash.28.88

By using a binary installer or [URL="http://dev.mysql.com/doc/"]reading the instructions[/URL]?

Member Avatar for sourcebits
0
103
Member Avatar for nil_gh_80
Member Avatar for nikesh.yadav
1
114
Member Avatar for thiliniss
Re: Ruby

Have you Googled it? Looked up any tutorials? Make some effort to educate yourself first, then ask specific question if you need help.

Member Avatar for zark_yoc
-2
79
Member Avatar for ﻼim
Member Avatar for ﻼim
0
107
Member Avatar for NewOrder

You stack trace will indicate the exact line that the error is occurring on.

Member Avatar for NewOrder
0
265
Member Avatar for LianaN

You could add a TableColumnModelListener something like this to resize your filter fields[CODE]tableDetails.getColumnModel().addColumnModelListener(new TableColumnModelListener() { public void columnMarginChanged(ChangeEvent e) { txtRegNum.setPreferredSize(new Dimension(tableDetails.getColumn("A").getWidth(),txtRegNum.getPreferredSize().height)); txtFirstName.setPreferredSize(new Dimension(tableDetails.getColumn("B").getWidth(),txtFirstName.getPreferredSize().height)); txtLastName.setPreferredSize(new Dimension(tableDetails.getColumn("C").getWidth(),txtLastName.getPreferredSize().height)); panfortable.revalidate(); } public void columnAdded(TableColumnModelEvent e) {} public void columnRemoved(TableColumnModelEvent e) {} public void columnMoved(TableColumnModelEvent e) {} public void columnSelectionChanged(ListSelectionEvent e) {} }); [/CODE]You'll …

Member Avatar for LianaN
0
765
Member Avatar for neo_31591
Re: JDBC

Here is a good place to start: [URL="http://download.oracle.com/javase/tutorial/jdbc/basics/index.html"]JDBC Basics[/URL] Don't use the JdbcOdbc driver when a pure JDBC driver is available. Here are some examples specifically for MySQL: [url]http://dev.mysql.com/doc/refman/5.1/en/connector-j-examples.html[/url] Personally I would choose an embedded file-based database such as H2 or Derby instead of MySQL if you just want to …

Member Avatar for nohup
0
120
Member Avatar for glenak

Another option is the [URL="http://download.oracle.com/javase/6/docs/api/java/awt/Desktop.html#open(java.io.File)"]Desktop.open()[/URL] method. You have more control with the Process the NormR1 mentioned, but it is OS-specific. The choice depends on your particular needs.

Member Avatar for glenak
0
137
Member Avatar for TheWhite

Here is another good article by Brian Goetz on handling interruption: [url]http://www.ibm.com/developerworks/java/library/j-jtp05236.html[/url]

Member Avatar for ~s.o.s~
0
155
Member Avatar for TahoeSands

That is just an annotation added by the IDE. In that specific case, it's actually just an anonymous implementation of the ActionListener interface.

Member Avatar for NormR1
0
425
Member Avatar for nitin_gyan

If you're using Tomcat, try putting the jar in [iCODE]$CATALINA_HOME/common/lib[/iCODE] See this for more info: [url]http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html#MySQL_DBCP_Example[/url]

Member Avatar for nitin_gyan
0
189
Member Avatar for subrat_p

In Netbeans, you can open the project properties and look at the "Run" category. There is an entry for Main Class there. Be sure that is set to the class you are wanting to run and then clean and build your project.

Member Avatar for Ezzaral
0
175
Member Avatar for smoothe19

Looks to me like someone is due to fail a test. Interesting, given the link in his signature.

Member Avatar for javaAddict
-3
343
Member Avatar for sky_B

You can use a small panel that displays an image as a container for your controls. Something like this[CODE]class ImagePanel extends JPanel { Image img; public ImagePanel(){ super(); img = loadImage("whatever.file"); } public void paintComponent(Graphics g) { super.paintComponent(g); if(img != null) { g.drawImage(img, 0, 0, this); } } public Image …

Member Avatar for sky_B
0
89
Member Avatar for arithehun

This forum is a customized version of vBulletin, which is not an open source system.

Member Avatar for Stefano Mtangoo
0
85
Member Avatar for brandongood
Member Avatar for Ezzaral
0
120
Member Avatar for anuj6928

As akill10 mentioned above, you have not initialized the [iCODE]request[/iCODE] variable. You have only declared it.

Member Avatar for coil
0
162
Member Avatar for nikita.chandra
Member Avatar for LianaN

You can probably use [URL="http://download.oracle.com/javase/tutorial/uiswing/layout/border.html"]BorderLayout[/URL] for that with your tree in the center and buttons at south. There are plenty of other layout options if you want to gain more control over positioning. Just take a look at the contents listing at the left side of that tutorial link.

Member Avatar for LianaN
0
81
Member Avatar for christiangirl

Also note that directories will also be included and can be discerned with file.isDirectory(). If you need to include file counts from subdirectories, you'll need to do the recursion yourself.

Member Avatar for Ezzaral
0
3K
Member Avatar for webdev2010

I'm guessing it's this interactive design form? [url]https://alliancetag.com/tagdesign.aspx[/url]

Member Avatar for Airshow
1
281
Member Avatar for TahoeSands

Since nextGuassian() will give you a double with mean 0 and std dev of 1.0, perhaps you can use a std deviation of 1/3 of half of your range:[iCODE]rand.nextGaussian()*0.33*halfRange[/iCODE] to get 99.7% of your values between [-halfRange,halfRange] and add that to your midpoint?[CODE] Random rand = new Random(); int x0 …

Member Avatar for Ezzaral
0
125
Member Avatar for dskumar_85

No, instead, you please start a new thread [I]if[/I] you have a more specific question to ask.

Member Avatar for Ezzaral
0
92
Member Avatar for gudads

Why not just ask him "What issues?" I am not aware of any myself, except that it is a bit more difficult to read and will throw an exception if there is a formatting problem.

Member Avatar for gudads
0
861
Member Avatar for lonely_girl
Re: HELP

Well, you're headed towards a "0" anyway if you haven't made any further effort on this in 5 days and can't find a single example of graphics in C as a starting point. No one is going to write it for you.

Member Avatar for Adak
0
257
Member Avatar for Iamthecheese

Adding a few more observations: - Those "wink" smilies are showing due to [icode];)[/icode], which is invalid syntax in those if() statements. - No parameter type in the process() method declaration. - Multiple return statements in the display() method - code beyond the first is unreachable. And the method declaration …

Member Avatar for NormR1
0
200
Member Avatar for boyz

[QUOTE=sanjup;658053]how we can call one servlet from other servlet and give the source code of all process? send it in this id: <removed>[/QUOTE] 1) Do not hijack threads. Post your own thread if you have a question. 2) Do not ask for code to be emailed. This is against the …

Member Avatar for himanijain
0
103
Member Avatar for kandyhyatt
Member Avatar for miweiser

From what I could determine, it looks like the only way to accomplish that is to dynamically create the query with the desired criteria. Pass-through queries cannot use parameters and they are parsed and run on the remote server. They don't have any knowledge of your local database and its …

Member Avatar for miweiser
0
195
Member Avatar for Venom Rush

I just marked it solved instead. Perhaps someone searching for how to do this will run across your post and it will help them.

Member Avatar for Ezzaral
0
181
Member Avatar for ﻼim
Member Avatar for fat0ali0ma

First, read the site rules and pay extra attention to this one [B]"Do not write in all uppercase or use "leet", "txt" or "chatroom" speak"[/B] Then post specific questions about the portions that you are having trouble with along with relevant code and error messages.

Member Avatar for fat0ali0ma
0
182
Member Avatar for Dani

Yeah, it does stand out more now. Hopefully it will be used more frequently.

Member Avatar for AndreRet
0
163
Member Avatar for gidireich

A couple of online books I ran across when I began looking into PHP: [URL="http://hudzilla.org/phpwiki/index.php?title=Main_Page"]Practical PHP Programming[/URL] [URL="http://www.techotopia.com/index.php/PHP_Essentials"]PHP Essentials[/URL]

Member Avatar for Ezzaral
0
55
Member Avatar for Dupron

I don't see where you actually start this thread[code]Thread t = new Thread (new ClientHandler(clientSocket));[/code]Try adding [code]t.start();[/code]

Member Avatar for yasuodancez
0
573
Member Avatar for supra

[URL="http://www.h2database.com/html/main.html"]H2[/URL] is another nice open source embedded database.

Member Avatar for martin5211
0
175
Member Avatar for Ezzaral

Some issues from the redesign were discussed and have now fallen well off the radar so I wanted to bring them back to page one: - "Edit/Delete" button: Complete misnomer, because it does not offer the ability to delete. - No [noparse][ICODE][/noparse] button on either of the post editors. Some …

Member Avatar for ~s.o.s~
3
297
Member Avatar for TheSecOrg
Member Avatar for peter_budo
0
103
Member Avatar for arctushar

Save it as csv amd use [URL="http://dev.mysql.com/doc/refman/5.0/en/mysqlimport.html"]mysqlimport[/URL]?

Member Avatar for Ezzaral
0
55
Member Avatar for Roodra
Member Avatar for jon.kiparsky
0
221
Member Avatar for emclondon

You cannot plagiarize your own code. Any sentient human being looking at that thread would see six pages of you working through issues with the original code you posted. Unless you copied the original post code from another source on the net, I don't see where you would have any …

Member Avatar for Dani
-1
282
Member Avatar for jemimaloh

You have to call next() three times if you want three values. Why not store all three values into a single object as you read them from the file?

Member Avatar for jemimaloh
0
135
Member Avatar for Me Awesome

[quote=Me Awesome;442589]Hi every body, I am a masters student in computer science and i am looking for a project that is working good. I need the code for it. If anybody has it, please send it to me...or atleast suggest me where i could find one. The project shlould be …

Member Avatar for monu952
0
177
Member Avatar for TahoeSands

Just go ahead and use the [URL="http://download.oracle.com/javase/6/docs/api/java/awt/Point.html"]Point[/URL] class. Edit: Ok, nevermind. Cross-posted as you posted the above. If you do need to work with other single points, there are convenience methods to test Point containment with various shapes, including Rectangle.

Member Avatar for TahoeSands
0
5K
Member Avatar for emcyroyale

Use [iCODE]equals()[/iCODE] or [iCODE]equalsIgnoreCase()[/iCODE] to test String equality, not "==".

Member Avatar for Ezzaral
0
132
Member Avatar for gavalipm
Member Avatar for neil.abbott1

See if the [URL="http://download-llnw.oracle.com/javase/6/docs/api/java/awt/Desktop.html#browse(java.net.URI)"]browse()[/URL] method of the [URL="http://download-llnw.oracle.com/javase/6/docs/api/java/awt/Desktop.html"]Desktop[/URL] class works for you.

Member Avatar for neil.abbott1
0
124
Member Avatar for Lazarevsky

So start coding! Post specific questions when you run into troubles and perhaps someone can help you through them. You aren't expecting someone to write this for you, are you?

Member Avatar for Ezzaral
0
78
Member Avatar for slfisher

>Good story but on a deeper level... Deeper level? Perhaps you meant "entirely irrelevant stream-of-consciousness tangent"? What does karma have to do with geotagging features in phones?

Member Avatar for slfisher
1
467

The End.