383 Posted Topics
Re: 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 | |
Re: Seems Like a report, Use Jasper Report http://jasperforge.org/ , oracle reports or crystal reports. | |
Re: 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 … | |
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 … | |
Re: 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. | |
Re: 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. | |
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 … | |
Re: Use theses Api's http://smslib.org/ | |
Re: 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 … | |
Re: 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 | |
Re: You need an I/O class, give this a read http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Scanner.html | |
![]() | Re: 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. ![]() |
Re: Your function for populating the listbox must be written in action event of that left list box... | |
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. | |
`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 … | |
Re: We are not here to solve your assignements by reading this big requirement. Paste your code here and ask for specific help. | |
Re: http://help.eclipse.org/helios/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftasks-33.htm Required Solution... Please check this article. | |
Re: Its a kind of virus, usually present in your c drive. I already faced it and removed it through avg(free edition). | |
Re: Do you have idea of creating manifest file? | |
Re: 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.. | |
Re: Calling applet's is not possible in java Applet. You need to place the interface in the current applet and repaint the current interface.... | |
<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 … | |
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 … | |
Re: 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. | |
Re: 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++) | |
Re: 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.. | |
Re: 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. | |
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. | |
Re: In java u have to dynamically alocate resources for array... for Line 3 you need a = new int[size of array]; | |
Re: 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 … ![]() | |
Re: http://www.ehow.com/how_12213334_grab-key-events-outside-java.html Read this article , Hope this help | |
Re: 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. | |
Re: 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. | |
Re: 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 … | |
Re: Tools -> Java Platform (select latest jdk kit , or one u require) | |
Re: 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 … | |
How can i ready physical layer of osi through c language? Is there any other language to perfom this task? | |
Re: http://stackoverflow.com/questions/5818028/how-to-make-java-trayicon-menuitem-shorcut I think this article is your solution. | |
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. | |
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. | |
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 … | |
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) … | |
Re: This error simply means you havnt initialized object. Paste the complete error message so we can clear your problem | |
Re: 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. | |
Re: 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. | |
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.... | |
Re: 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... | |
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 … | |
| |
Re: 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 <= … |
The End.