32,199 Topics
| |
I need some advice on the way I'm should be doing something like this... My main GUI is composed of a JTable and query box for custom SQL user queries. I execute a SQL query, from the ResultSet, map the ResultSet an ArrayList<Object>, parse it to a tableModel class extends … | |
Can any one tell me how to get the currently active network interface name (Local Area Connection/ Wireless Network Connection/ other) either by using java SDK or win32 API. Is there any function to get the active network interface name in java/win32? Is there any procedure for it to get … | |
i'm making a drawing application in which i am drawing on a canvas after taking points where mouse is dragged over it..........and this canvas is on a JPanel........but the problem is that when i minimize the window of the app, the whole drawing is lost..... pls suggest me so that … | |
I hav to pass an array frm jsp page to servlet.Array contains the name of the field which r checked & in order they r checked can anyone suggest me how to do tht it's urgent | |
How to i assign groups to roles on application server, and how user assign tio group dynamically in j2ee using JASS...help | |
want to ask tht can we keep weblogic server in the services ..like we can keep Apache tomcat in services so tht we need not to start Tomcat server everytime to run a web application..Or there anyway to keep weblogic server at the startup so tht it start automatically... | |
how to generate a table GUI dynamically when user enters no of columns and rows.....so that user can enter data in that table.....in Java Netbeans...... | |
Requirements 1) read from output file eg: 1222222 + 2333333 3444444 - 9999999 6666555 * 7 0 2) For addition and sutraction, Number1 and Number2 should be large integers and must be stored in a link list. eg. output = 1222222 + 2333333 = 454444444(answer) 3) For multiplication, Number1 should … | |
is it possible to compare the inputted number to the each number in a string? so i can display the frequency or occurence of number?.. | |
hello, I have been meessing around with a simple drawing tool. It is an example out of begining Java 2. As an extra I was trying to add a draw triangle but got a little bit stumped. I can get the button to draw a static triangle. One size one … | |
Hey Everyone! Thanks for your help on my previous endevors. But, I've been working on this program for..... weeks, maybe months, and it's slowly evolved from different versions. This version uses OOP heavily, and it almost works. Okay, if you are not familiar with the '8 queens' problem, the objective … | |
String description = ""; String query1 = ""; int grade_autoid,count=0; rSet1= DBHelper.getQueryResult(query); %> <tr> <td> <% Log.log("rset value is as"+rSet1); for(int i=1;i<rSet1.size();i++) { count++; grade_name = ((String)((Vector)rSet1.elementAt(i)).elementAt(0)); grade_autoid=((Integer)((Vector)rSet1.elementAt(i)).elementAt(1)).intValue();%> <% Log.log("gradeautoid is as" +grade_autoid); %> <% query1="select description from RUBRICS where grade_autoid="+grade_autoid; Log.log("query1 is as "+query); rSet2= DBHelper.getQueryResult(query1); Log.log("the size of … | |
Hello Friend, Please answer my question. I am behind a firewall and proxy server. I enter the proxy password on firefox and when connect to any site that uses java, the java virtual machine also asks me for proxy password. It actualy does not ask me but it shows the … | |
can anyone help me minimize the size of an image using java? | |
K , im trying make a program were when u enter a number it draws a circle. The number entered is the radius (width) of the circle. "yes i know its stupid but im just messing around " > Now my problem is that if u enter a something either … | |
guc professors decided to give bonus marks to engnieering students to their high performance in their projects as follows : 1st semester students are given 5% of the total mark if the mark exceeds 90/100 3rd semester students are given 7% of the total mark if the mark exceeds 85/100 … | |
guc professors decided to give bonus marks to engnieering students to their high performance in their projects as follows : 1st semester students are given 5% of the total mark if the mark exceeds 90/100 3rd semester students are given 7% of the total mark if the mark exceeds 85/100 … | |
Why does the JVM initialise the data fields with default values if no constructors are defined in any class? What is the need for such a procedure of calling the default constructor? | |
I have a Date insert that is formatted into an Oracle 9i database and it works. But I had to make the Date variable a varchar2 in Oracle to get it to work: [code=java] java.sql.Timestamp myd = new java.sql.Timestamp(new java.util.Date().getTime()); String sub_date = new SimpleDateFormat("mm/dd/yy , h:mm a").format(myd); String query … | |
hello to all.. i got a machine problem which is finding how many times the inputted number occured.. hows thar? inputted number:(bufferedReader) Enter number: 22 Enter number: 23 Enter number: 32 Enter number: 32 Enter number: 23 Number to be search: 2 Occurence : 6 i cant get it.. pls … | |
Hi I am creating a house search programme. the objective of this programme is to sell houses within a range specified by the potential buyer. Now the buyer would type in the amount he is willing to spend and the houses closest to this range should be presented to him/her … | |
hi i have this assingment due very soon and i am totally stumped. I have to use java and im not good with it at all , ive' been searching everywhere and i can't find anything that would help me. Hopefully you guys can help me , thanks in advance. … | |
<a onclick=" window.open('C:/Documents and Settings/palanikumar.r/Desktop/Doc.bat','remarks','height=600,width=915,left=50,top=50')" ><input type="button" value="start" onClick="startclock('')"></a> see, in the above coding i am using button to open a document file. im opening it through the batch file.. the batch file contains @echo off c: cd\ cd jdk1.5.0_05\bin javac Doc.java java Doc Doc.java is a java program through … | |
[COLOR="Red"][B]i am opening an application using java through a batch file. when i am clicking the batch file the file download dialog box is opening . i dont need to open the dialog box without that dialogue box the file should be open. pls help advance thanks and regarda[/B][/COLOR] | |
Hi all, I am working on a program which will generate a log file for it's operation. Because of the way the program is designed, the program maintains a String variable for all the log that needs to be written and write that string into the file at it's exit. … | |
Hi there, I have just started using java and have gained a bit of knowledge in it to start making small programs to run in cmd. I have recently been making one to determine which, of 4 objects, can reach a random point in a 1km square. I have managed … | |
Hey, Im having a problem getting my applet to repaint after it is resized. + and - buttons resize it but sometimes it wont get bigger or repaint. here is the src for the applet [code=java] private ArrayList<CompareColor> myColors; private ArrayList<CompareColor> fixedColors; private int w=0; private int h=0; private int … | |
I am a newbie to java. I have heard that Java is a programming platform. Did it mean than it can work both in Windows and Linux. Or if it doesn't ,what does a programming platform mean to be? | |
Hi I am doing a vending Machine application. Now I can insert denominations from 5 10 20 50 1pound and 2 pounds. Is there a way of filtering the most efficent coin combination to pay for the snack. e.g. I have a snack for 45 pence. I insert 2 pounds … |
The End.