383 Posted Topics

Member Avatar for Traps

All you need to connect with mysql server or any othere database from remote software and take its backup, why you are involving java in this. Watch this , it will clear ur idea. http://sql.dzone.com/news/how-to-remote-mysql-database-a

Member Avatar for Majestics
0
133
Member Avatar for GlenRogers

Seems Like a report, Use Jasper Report http://jasperforge.org/ , oracle reports or crystal reports.

Member Avatar for GlenRogers
0
117
Member Avatar for Viped

I think you have hashes in hex form in file... The simple solution for this is to convert the message digest hash to hex form before comparing it with file hash. It will solve your problem. 2nd method would be reading the bytes and then converting into 8bit scheme. It …

Member Avatar for Majestics
0
193
Member Avatar for Majestics

i am working on a web project which upload file on server, i am using uploadify for this. I have used this with wamp where it worked like a charm but when i tried in the server side it failed.. any suggestions. I have done many tricks but none of …

Member Avatar for pritaeas
0
277
Member Avatar for skiabox

Please paste ur code... It seems u are calling file chooser in constructor rather then in actionPerformed Method. Still itsnt clear until you paste your code.

Member Avatar for skiabox
0
185
Member Avatar for JakeA

There is no way u can do this.... You can create ur own title bar by overiding the original title bar. All you have to do is setUndecorated(true). This will remove title bar and you can place your custom title bar.

Member Avatar for DavidKroukamp
1
2K
Member Avatar for Majestics

I am new to php, i am creating a website which fetch data from mysql, if the data is more then 10 columns then i want to give a link page 1 , 2 , 3 , 4 (Like google) so user cant navigate through them.... How can i do …

Member Avatar for pritaeas
0
91
Member Avatar for godzab
Member Avatar for trishtren

I think you are confused in passing a class as a paramater, You can pass class as a paramater... Lets Take an example //----------- Class a ----------------- class a { private int i; a(int j) { i = j; } public void print() { System.out.println(i); } } //----------------- Class b …

Member Avatar for JamesCherrill
0
209
Member Avatar for B204

Doing this is a very easy job Create a buffer byte[] b = new byte[1024]; while(in.read(b) != -1) //---------- This will read the file until the file end. http://docs.oracle.com/javase/1.4.2/docs/api/java/io/FileInputStream.html Check out the documentation

Member Avatar for JamesCherrill
0
954
Member Avatar for SHAHAB UDDIN

You need an I/O class, give this a read http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Scanner.html

Member Avatar for godzab
0
140
Member Avatar for sammoto

First of all you dont have **Card Class**, thats why it is giving cant find symbol error. Second you cant call **non-static objects from static** functions because static has more life then non static thats why compiler stops you from doing this.

Member Avatar for sammoto
1
415
Member Avatar for Rimmi90

Your function for populating the listbox must be written in action event of that left list box...

Member Avatar for Majestics
0
105
Member Avatar for Majestics

Can some one provide me an example to call dll from java? I learning some thing about JNI , also linkage with c++ but doesnt found any cool stuff on c# and java... I want a free solution. Thanx in advance.

Member Avatar for Majestics
0
229
Member Avatar for Majestics

`select s.sname as stationname , sum(di.quantity) as quantity from demand_information di, demand d, company c , station s where s.sno = d.sno(+) and di.demandno = d.demandno and d.cno = c.cno and c.cname = $P{companyname} and to_char(d.demanddate,'MM-yyyy') = $P{gdate} and di.pno = (select pno from products where productname = $P{productname}) group …

Member Avatar for Perry31
0
94
Member Avatar for SuperManofBC

We are not here to solve your assignements by reading this big requirement. Paste your code here and ask for specific help.

Member Avatar for stultuske
0
648
Member Avatar for rtellez700

http://help.eclipse.org/helios/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftasks-33.htm Required Solution... Please check this article.

Member Avatar for JamesCherrill
0
269
Member Avatar for RonKevin

Its a kind of virus, usually present in your c drive. I already faced it and removed it through avg(free edition).

Member Avatar for RonKevin
0
133
Member Avatar for rtellez700
Member Avatar for anisha.silva

TCP AND UDP both require ports, difference is only reliability. Paste ur UDP server code here so i we check whats wrong with your app..

Member Avatar for Majestics
0
120
Member Avatar for subrat_p

Calling applet's is not possible in java Applet. You need to place the interface in the current applet and repaint the current interface....

Member Avatar for JamesCherrill
0
475
Member Avatar for Majestics

<html> <head> <!--Load the jquery lib --> <script type="text/javascript" src="jquery-1.7.2.js"></script> <!--Use jquery --> <script type="text/javascript"> $var = 1; </script> <script type="text/javascript"> $(document).ready(function(){ $('#cont').click(function(){ $('<p />').text("hye").appendTo($('#cont')); }); // $('p').live("click", function(){ // if($(this).text() == "Good...1") // $(this).empty().appendTo($('#myDiv')); //}); }); </script> --> </head> <body> <!-- <div id="myDiv"> <p>Hello world!</p> </div> <a href="#" id="myLink">Change …

0
85
Member Avatar for Majestics

I am facing some problems in a project regarding to byte fetching from a file and storing. Problem in java bytes is they are number, instead of char. In file i have seen a byte is like a char... Also how to make bytes unsigned , because signed bytes creates …

Member Avatar for Majestics
0
198
Member Avatar for GeekTool

String s = "i am a p"; if(s.indexOf("p") == -1) //Index of method checks wether the character is present or not methodForCountingAllAlphabet(s); // count if p is not present else continue(); // leave the string if p is present. This all the logic u require.

Member Avatar for stultuske
0
244
Member Avatar for GeekTool

Your Problem : Scope of variable "i" is only to loop. Try to declare a variable before for loop and use it inside for statement. int i; for(i=0;i<size;i++)

Member Avatar for GeekTool
0
130
Member Avatar for Johannady2

Your problem:new ImageIcon [] = getClass().getResource(name[0]) What are u doing here... Solution: new ImageIcon(getClass().getResource(name[0])) Image Icon takes a parameter and that the image location. Hope this Help..

Member Avatar for JamesCherrill
0
607
Member Avatar for abdu.nov1

First you have setBound for your label... Second , you need to repaint frame, you can see ur label if u resize by clicking resize button in title bar.

Member Avatar for Majestics
0
151
Member Avatar for Majestics

How to provide auto size re-ajustment in java design i.e when vb.net form are expanded then it automatically expand the button and textfield appropiatly like nothing changed... while in java every thing messes up... Any Suggestions.

Member Avatar for Majestics
0
165
Member Avatar for Onlineshade

In java u have to dynamically alocate resources for array... for Line 3 you need a = new int[size of array];

Member Avatar for stultuske
0
123
Member Avatar for ramganesht

Create a table in mysql named menu, and menu item. Place your menu name in menu table and menu item name in menuitem table. At run time fetch the menu and related menuitem from tables and display them. U need PHP , MYSQL and CSS(JQuery if you want to make …

Member Avatar for diafol
0
153
Member Avatar for libathos

http://www.ehow.com/how_12213334_grab-key-events-outside-java.html Read this article , Hope this help

Member Avatar for Majestics
0
65
Member Avatar for ocw91

Grid Layout set the layout in the form of Rows and columns , there are no options for setting the content size... Better move to Grid Bag Layout, it is the most flexiable one with size and placement options.

Member Avatar for Majestics
0
2K
Member Avatar for c.pentasuglia

Interfaces must contain methods which uses the classes object as a parameter. Look at ActionListener Interface, in this interface you will get actionPerformed method. This method uses ActionEvent object. All the backend work is done by ActionEvent object. You must implement your interface in a manner like this.

Member Avatar for NormR1
0
210
Member Avatar for zina_a

Its a simple project but with network understanding. For Lan Monitering you must be connected as a gateway so you can map p.c's which are attached with network. For starter search api's which can help you getting connected p,c information. Please watch these api's http://jnetpcap.com/ , arranging them as a …

Member Avatar for Majestics
0
80
Member Avatar for belber
Member Avatar for belber
0
123
Member Avatar for asif49

I remember i used to initialize the head with the first linked list address in C/C++ language. But in java there are no addresses concept, Jvm handle pointer for you. So instead of making traditional linked list in java like c/c++ , why dont u try something new. Also LinkedList …

Member Avatar for asif49
0
109
Member Avatar for Majestics

How can i ready physical layer of osi through c language? Is there any other language to perfom this task?

Member Avatar for DeanMSands3
0
322
Member Avatar for anuj_sharma

http://stackoverflow.com/questions/5818028/how-to-make-java-trayicon-menuitem-shorcut I think this article is your solution.

Member Avatar for anuj_sharma
0
149
Member Avatar for Majestics

Its just a simple question , but i m totally confused that why php and asp hosting are cheaper then jsp. Also what jsp provide which are not provided by php and asp? Thank you in advance for your kind replies.

Member Avatar for ~s.o.s~
0
99
Member Avatar for Majestics

I want to assigne value to string array but i dont know the size of the array from start... Is there any way to do it Programatically for(int i=0 ; i < unkownSize; i++) string[i] = some value I hope my question is clear.

Member Avatar for NormR1
0
144
Member Avatar for Majestics

Its not a new question, i already searched many forums and found many answers but the builders i found arent able to compete with builder of vb.net and c#.net, so i thought to take some decision from some experience people , please give me some of your suggestions. I already …

Member Avatar for CrazyDieter
0
347
Member Avatar for Majestics

Any About this error run: Exception in thread "AWT-EventQueue-0" java.lang.VerifyError: (class: stockinventoryforecast/productEntries, method: <init> signature: (Ljava/sql/Connection;)V) Constructor must call super() or this() at stockinventoryforecast.mainPage.actionPerformed(mainPage.java:226) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at java.awt.Component.processMouseEvent(Component.java:6504) at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) at java.awt.Component.processEvent(Component.java:6269) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4860) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4686) …

Member Avatar for Majestics
0
136
Member Avatar for blivori

This error simply means you havnt initialized object. Paste the complete error message so we can clear your problem

Member Avatar for Majestics
0
264
Member Avatar for tendaimare

http://www.daniweb.com/software-development/java/threads/99132/starting-java-java-tutorials-resources-faq On top of java forum this link is mentioned. Its nicely discussed thread with all suggestion and help.

Member Avatar for stultuske
0
84
Member Avatar for raju1234

I dont know what is ur purpose of creating a user with admin privilege without root permission. But creating a user with root privilage will be a bad idea... create a simple user and switch to root by using "su" command, its safier then creating over heads.

Member Avatar for LaxLoafer
0
128
Member Avatar for Majestics

at javax.swing.table.DefaultTableModel.setValueAt(Unknown Source) at javax.swing.JTable.setValueAt(Unknown Source) I am setting a table row manually.... its just for checking purpose , i have 10 rows and 10 columns but still i am getting this error, please help me to resolve it....

Member Avatar for Majestics
0
283
Member Avatar for shean1488

Look creating a web browser isnt that simple, u can use already deployed project to understand the working or extend them like [url]http://lobobrowser.org/java-browser.jsp[/url]. If you want to open URL in a webbrowser like firefox or IE then use JDESKTOP Api. Hope this Help...

Member Avatar for 117
0
203
Member Avatar for Majestics

I am using jasper report (ireport for designing). I want help regarding to set [B]relative path[/B] of the [B]images and jar[/B] files for report... As the jasper report pick up the [B]absolute path[/B] so it create problem when the drive is changed or even pc is changed... Kindly please help …

0
84
Member Avatar for ringo_tech
Member Avatar for falconpunch

You need an array of integer to place the number's which are use for division. Like [code] int dividend[] = {2,5}; [/code] Then you need a while loop [code] while(i<dividend.length) if(start % a[i]) [/code] I have checked your code... Look at this line [code] for(start = start ; start <= …

Member Avatar for Majestics
0
1K

The End.