383 Posted Topics
Re: Problem lies in the column name, which you are using in the rs.getString() method. Correct your column name. | |
![]() | Re: Seems like you are working on bydefault class of JBUTTON, you can customize classes in java according to your needs... AS JBUTTON implements imageobserver class you better check you desired function and overwrite it according to your own needs. |
Re: Swap these two line. [code] employee =Integer.parseInt(JOptionPane.showInputDialog(null,"Enter number of employees: ")); int size[]= new int[employee]; [/code] | |
![]() | Re: Check Line 15....... This is creating infinite Loop for you. ![]() |
I have a laptop, i have pluged it with a wire which is near to the router it worked but when i connected it a wire which is 60m away from router it says "UN-identified network", please help me to resolve it. | |
ORA-01000: maximum open cursors exceeded tips I am getting following error. I made a combo box with select query behind it, i used itemlistener to fetch data. Today during testing i found that if user move too quickly in combo box so select query will be fired for each number … | |
Re: Well count any not null column in the table. Then the below code will help u. [code] if(resultset.next()) long count = Parse to Long (resultset.getString("columnname")); [/code] | |
Re: There are two solutions for this , 1) SERVER BASED (LEARN TO USE SOCKETS) 2) WEB BASED (LEARN TO USE JAVA EE) | |
Re: [url]http://stackoverflow.com/questions/50532/how-do-i-format-a-number-in-java[/url] You need format class in java | |
Re: Its too simple String.split("(Space)") // Leave a space here ... Second split function returns a String array so u need a String array to carry the values.... Like [code] String a[] = String.Split(" "); [/code] And then print them or use them for ur logic... Hope this Help.... | |
Re: Convert Write String to a function which takes int as a parameter and returns the String to execute. Let me explain more [code] method String writeString(int) { return Here is ur code } Declare a variable locally increment it and send to function. [/code] | |
![]() | Re: what java have to do with this? If you want to optimize sound then use a algorithem to optimize the sound. |
Re: I think you want to get the current salary of the user when u change the combo box value, try read this article [url]http://docs.oracle.com/javase/tutorial/uiswing/events/itemlistener.html[/url] Make a method which on change or selected values in combo box search the file for the specified value and place it on the textfield. Hope … | |
I hope u havnt taken it filter in java :-), i want to create a filter for internet which do content filtering on some keyword, but dont know how to start , any body just an hint please..... Thank you | |
I m trying to pass a 10.10 value to double and it takes 10.1 instead of this? Any solution. | |
I have only one lan card, i want to set up a proxy server and redirect all other pc to my pc for content filtering, does any one knows any better method, because i cant afford new lan card. | |
Its a simple problem... I placed the socket code under a button, if server is present it respond very quickly if not it takes time to respond.... I want to shorter that time , is there any way? | |
Re: Agreed with Ezzaral, Check Line 32, you are using a variable without even intializing it. Check this page out [url]http://www.javaworld.com/javaworld/jw-03-1998/jw-03-initialization.html?page=2[/url]. | |
Re: Seems like u want to abort a thread cleanly if it fails to complete in a desired time. I think "interrupt" is one of the possible way's, u need a exception handler in which u can print a message or empty as u desire.... | |
Is there any way to extend gaps between jmenuitem? | |
Re: Print out the original string u got [code] System.out.print(userString); [/code] ![]() | |
I have using following code over jdk 6.0 but after first round it doesnt work .... [code] if(table.getRowCount() -1 == table.getSelectedRow()) table.editCellValues(0,columnno); else table.editCellValues(table.getSelectedRow(),columnno); [/code] These lines are in mouse clicked method... Problem is when it reaches to end, and when fw button is pressed it jumps to another column.... … | |
Re: Reduce the number of column from 50 to 30.... [code] incoming = new JTextArea(15, 30); [/code] Your Text is appearing but isnt adjusting over frame correctly... | |
I tried today many times but nothing work... So whats the procedure to give exam for this certification???? | |
I am using jcalendar... I want to bind it with a textfield, i am using button to display this calendar , but i want to display it below the date text field, any suggestions??? | |
Which two code fragments correctly create and initialize a static array of int elements? (Choose two.) A. static final int[] a = { 100,200 }; B. static final int[] a; static { a=new int[2]; a[0]=100; a[1]=200; } C. static final int[] a = new int[2]{ 100,200 }; D. static final … | |
Re: [url]http://forums.devx.com/archive/index.php/t-27297.html[/url] Read this thread. | |
I am creating a project, which one start copy itself to any drive and stop execution and run other file which was copied.... No progress yet... Has any one done similar type of project before.... Need a bit for starting guidance.... Thank you. | |
Please help me solving few thought questions 1) 255.0.0.0 is class A subnet mask which mean 255 network portion but in ip address we can only use upto 126.255.255.255, after 127 class b range starts? 2) If we buy an IP , after doing subnetting of that ip, how will … | |
I googled alot about netbios but didnt understand it completely. Please help me a bit 1) Why we use netbios 2) What is netbios alternative 3) Why microsoft is not using netbios any more Thank you all.. Single line answer is enough.... | |
[code] mysql_query("UPDATE hostip SET time = '".date("d/m/y h:m:s")."' WHERE ipaddress = '".$ip."'"); [/code] Whats the problem in this query.... Its giving me syntax error... | |
Re: You must have a cipher text and its original text (If You are Lucky) Try Brute Force with different keys (Work 100% But takes alot time) Try Intelligent Search for key (Require some data about the key) ![]() | |
Well i just want to say , dani web is a great forum to discuss IT but there is no area where we can discuss over security and secure coding. As many recent incidents proved that learning secure coding methods also necessary for programmers.... So.... Just a suggestion....................................... :) | |
I am working on packet analyzing software, so i just need a kick to start by reading the packets of wireless, but i dont have any idea regarding to it... Any who handled such kinds of projects before please help me a bit.... | |
SOrry guys to disturb you all... I just need a little help , can some one please give me a brief introduction to pointer... also i have some question, what does these mean [code] int i; cout<<i (mean to print i) cout<<*i (what does it mean) cout<<**i (what does this … | |
Sorry folks, i m a bit confused in networking protocols so please help a bit my questions are 1) Why udp is made if ip is present for communication 2) How routers communicate each other ? Through mac or Ip address 3) How router broadcast? Through Ip or udp Thank … | |
Re: [url]http://stackoverflow.com/questions/400255/how-to-put-more-than-1000-values-into-an-oracle-in-clause[/url] Check this its already solved here. | |
| |
How can we access hard disk addresses from c language, accessing ram address is easy? Also can we access MBR of NTFS through c , just a bit dissusion required for starting my work? Thank You All in Advance..... | |
Re: So where is the code............... Its a easy assignement check: scanner class for input through console mode JOptionPane input dialogue box for input through GUI code after creating a bit logic and submit here... We will help you further... | |
Re: 1) Use i++ at the end, If you want to show user that please enter value one then use i+1 in print statement. 2) You need to set size for integer array before using it, int a[] = new int[6] // because you want to store 6 values 3) Take … | |
Re: Authors values for setSize is Correct, it correctly display the frame and its component. While choosing a fixed size frame Author possibly tried a value then improved it further until the display become correct.. I myself tried fixed values many times and reaches to conclusion after trying some values... :)Well … | |
I have a experience of network programming in java... now i want to implement them in c with more better support, i have used c++ long time a ago... Now i dont know which compiler of c++ is better, which support socket api... and which operating system provide more flexibility … | |
Re: Check are u intializing each drawObjects before you use it [code] drawObjects[i] = new Shapes(); // Are u doing like this......................... [/code] | |
I want to create MouseListener library from scracth... Its just a assignement ... I have no idea to develop a thing in which i cant use that api directly from java... Please Help. | |
how to move a jframe which has no taskbar? [code] frame.addmousemotionlistener(this); public void mousedragged(MouseEvent e) { // What to write here } [/code] I tried setBounds of jframe but it flicker when we try to move the frame. | |
Re: Use Decimal Format Class.... [code] DecimalFormat df = new DecimalFormat("#.##"); df.format(doubleValues) // Return a String [/code] | |
Re: [code] testScore = 0 and then while(testScore>100) then execute loop [/code] If testScore is zero how can it execute the loop.. Hope this help ![]() | |
| |
I have choosen information security for my future field... Which language will be best for analysis of information and exploiting bugs? C or c++ or java or any other ? ![]() |
The End.