107 Archived Topics
Remove Filter Is there any method in java to know size of decimal?? I mean 14 has 2 digits , 100 has 3 etc....... I m going to implement auto generated number like A0001 , now i want to change it on each new entry , so Does any one has any … | |
I have forgot my sqlserver 2000 password, any method to recover it??????? | |
How to add serial number like column in jtable at left side of jtable? | |
How to keep look and feel of java program as classic windows style , even the style of the windows change to windows xp look, or aero look? I mean permenantly keeping classic look? Has any one has any idea? Thank you............... for any advice , help... :) | |
is there any open source project for custom menu for java desktop app? | |
I HAVE TRYING SPLASH SCREEN IN MY APP, BUT CANT GET THE BASICS YET.. SPLSAH SCREEN ISNT WORKING, CAN ANYONE GIVE ME A SIMPLE EXAMPLE hERE is my code. [CODE] import java.awt.Graphics; import java.awt.Image; import java.awt.Toolkit; import javax.swing.JWindow; public class introduction extends JWindow { private Image img; introduction() { setSize(128,128); … | |
As java programmer know that program made under java are converted to jar file for usage... And an updation in any class require that jar to be updated. So is there any way that we can update the class file at runtime rather then whole jar file. I want to … | |
i have added a picture panel in jscroll pane [code] scrollpane.add(pic1); [/code] now i want that on run time when user click on another pic panel it will be shown at pic1 scroll pane, so i simply use this code [code] scrollpane.add(pic2); [/code] but it doesnt work , so i … | |
How to add flash objects in java without Java Flash Player Api? Any idea. Just hint required. | |
I have placed thread is alive in a loop , so when the thread finish its work so i will start another work.... but this makes program heavier. is there any other method [code] while(thread1 is alive) wait getvalue from thread1 and start thread2 [/code] | |
Is there any class for information providing box when i bring mouse over the object in java. I mean when i bring mouse over the combo box it display information about that combo box I cant load picture, seems some error in picture loading area..... | |
I have connected java with oracle over lan, in connection string i have provided the IP address, now the startup is very slow, how can i make it fast, i have already asked the same question in java forum but no responce, so i thought oracle expertise can answer this … | |
I am writing a prg which take a value from user and check weather its present in table or not.... [code] table.getValueAt(i,j).toString().toLowerCase() == searchfield.getText().toLowerCase(); [/code] Well if yes then make that cell red... What to write to make cell red? | |
Is there any way to take oracle backup from java. [code] Connection c = // Connection Setting; st = c.createStatement(); rs = st.executeQuery("//What to write here for backup"); [/code] I have tried imp and exp utility , but they cant be accessed through sqlplus... | |
select companyname,sum(sale) as TotalSale,sum(purchase) as TotalPurchase from invoice group by companyname Having companyname IN (select companyname from invoice) It returns sum only for those column whose all sum are not blank, how can i show blank sum values I mean there are 7 companies but only 4 records are shown. … | |
How to take a user table backup from that user account? I mean i want to give him grants to take backup... also query to take backup. | |
How to open already present text file... So user can see the data in that file... I dont mean FileInput or OutputStream open. | |
Deal all, i am new to reports , i tried BIRT,JASPER,Crystal and oracle reports ... but i m only able to make a report in designer , how to connect to standalone application of java made in java se edition... So please tell me easy report designer because in vb … | |
Jtable insert new inserted row at the top.... I want the new inserted row below. Problem 10 james microsoft c.e.o 9 peter linux mgr requirement 9 peter linux mgr 10 james microsoft c.e.o | |
[code]ORA-00001: unique constraint (WAJAHAT.INVOICE_UQ) violated[/code] its the exception, i want to match it with condition and take decision , but its not working [code]if(e1.getMessage().equals("ORA-00001: unique constraint (WAJAHAT.INVOICE_UQ) violated"))[/code] | |
Can any one give a useful link to learn oracle report server and also how to connect it with java application.... Thank you. Require second question answer.... | |
[code]"insert into invoice(sno,entrydate,invoicedate,companyname,party,station,purchase,avail,sale) " + values("+Integer.getInteger(head.getSerial().getText())+",to_date('"+head.getEntryDate().getText()+ "','dd/mm/yyyy')"+",to_date('"+head.getInvoicedate().getText()+ "','dd/mm/yyyy')"+",'"+head.getCompany().getSelectedItem()+"'"+"'"+head.getParty().getSelectedItem()+"','"+head.getStation().getSelectedItem()+"',"+Integer.getInteger(head.getPurchase().getText())+",1,"+Integer.getInteger(head.getSale().getText())+")"); [/code] SNO NOT NULL NUMBER(38) ENTRYDATE DATE INVOICEDATE DATE COMPANYNAME VARCHAR2(50) PARTY VARCHAR2(50) STATION VARCHAR2(50) PURCHASE NUMBER(10,2) AVAIL NUMBER(1) SALE NUMBER(10,2) Whats wrong in this query.... I am getting sqlException .... | |
When we define a new variable for frame it hold "null" value, but what it contain when we close that frame? | |
[code] import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import javax.swing.DefaultCellEditor; import javax.swing.JComboBox; import javax.swing.JFrame; import javax.swing.JScrollPane; import javax.swing.JTable; import javax.swing.table.DefaultTableModel; public class main implements ItemListener { String[] a = {"one","two","three"}; String[] b = {"4","5","6"}; String[] c = {"7","8","9"}; String[] d = {"10","11","12"}; String[] e = {"13","14","15"}; JComboBox a1 = new JComboBox(a); JComboBox b1 … | |
when i click on a column on which editor is attached , the getselectedrow return -1 ...... I have also tried list selection listener but nothinhg work properly.... i dont think it need code.... Please help..... | |
I want combo box in jtable visible from start not when i click the cell... any idea? | |
I want to provide report facility in my software.... I have seen jasper reports , crystal reports and many other.... In all of them i like crystal reports because they are easy to make.... can anybody tell me how to connect crystal reports with java app.... I dont have any … | |
I have made a single combo box and added it with table... Items are added from database. There are three combo box A , B AND C ... B depend on A And C on B. Now if i select anything from row one A combo box it will load … | |
I am doing a web project... I am new to website design ... I want to create such a website which look same in all browser... Most of the time different browser cant follow same layout and website structure doesnt look same... I have searched this matter alot but didnt … | |
2 networks with seperate internet , i want to join them , is there any method... | |
I AM WORKING OVER NEWS SECTION OF MY WEBSITE... I WANT TO RETRIEVE THE NEWS PRESENT IN THE DATABASE AND SHOW THEM AND ALLOW CHECK BOX TO SELECT THE NEWS TO DELETE THEM... I am able to create the news section that retrieve the data from mysql database and also … | |
I want to embed microsft notepad in my java application.... is there any way... i dont want to use java own made notepad.... | |
I have two network , one is 192.168.0.1 and other is 192.168.10.1 ... I want to combine both networks ... Both networks are connected with internet... I dont want them to interfere in each other internet connection, Just want to share files and printer services between them... Is there any … | |
I have already asked about the problem in java forum... Now i think the solution is only possible through microsoft products... Problem is i want to get the handle of a application and send commands to that application... Is it possible,, commands are send to combo box , text area, … | |
There is a database program for making invoice , its written in vb.net, there is no save option in that program, the programmer who designed it is not availble now... I want to add save button, the solution i have thought is to take the handle of the application and … | |
How in java we can add double menus, like file bar and search bar both are different in internet explorer? Thanks in advance. | |
[url]http://www.jformdesigner.com/doc/help/layouts/gridbaglayout.html[/url] Please visit this website, there is a image of a dialogue box , can anyone help me please making them. I dont want full code just some hints . Thank You. | |
How to set caption icon in java? Like firefox icon on the top caption bar. and how to run a process in background in java? Thank you. | |
I am giving this title so most of you attract towards this thread. I actually want to know is there any way to link mfc created programe with java . As all the programmers know that mfc contain a lot of files some time static linkage and some time dynamic … | |
[icode] // OnscreenKeyboard.cpp : Defines the class behaviors for the application. // #include "stdafx.h" #include "OnscreenKeyboard.h" #include "OnscreenKeyboardDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // COnscreenKeyboardApp BEGIN_MESSAGE_MAP(COnscreenKeyboardApp, CWinApp) //{{AFX_MSG_MAP(COnscreenKeyboardApp) // NOTE - the ClassWizard will add and remove mapping macros here. // … | |
[code] import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.awt.Robot; import java.awt.Event; import java.awt.AWTException; public class keyboard implements ActionListener { int i; String s[] = {"esc","F1","F2","F3","F4","F5", "F6","F7","F8","F9","F10","F11","F12", "psc","slk","pau","A","B","C","D","E", "F"}; String g = ""; Object b; JMenuBar m = new JMenuBar(); JMenu m1 = new JMenu("File"); JMenu m2 … | |
I am making on-screen keyboard in java. All what i want to know is how to get focus into the notepad or any other typing point , I mean when i press a key it type it into the typing point like a keyboard do. If any one know any … | |
[code] import javax.swing.*; import java.awt.*; public class keyboard { public static void main(String args[]) { String s[] = {"esc","F1","F2","F3","F4","F5", "F6","F7","F8","F9","F10","F11","F12", "psc","slk","pau"}; JButton j[] = new JButton[s.length]; for(int i=0;i<s.length;i++) j[i].setText(s[i]); JFrame f = new JFrame(); for(int i=0;i<s.length;i++) f.add(j[i],JFrame.LEFT_ALIGNMENT); f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); f.setVisible(true); } } [/code] I need Instant Help!. Code is giving me … | |
[B]How to open a picture in c++ ( jpeg or any other format)[/B] | |
[code] Apply all steps of conceptual and logical database design on the following requirements: The system should be able to store a customer’s name, address, and contact information and a book’s ISBN, publisher, authors, and title information. A customer should be able to purchase one or many books at a … | |
[code] Apply all steps of conceptual and logical database design on the following requirements: The system should be able to store a customer’s name, address, and contact information and a book’s ISBN, publisher, authors, and title information. A customer should be able to purchase one or many books at a … | |
I have searched the forum , also over internet but i didn't found any understandable method to convert float number to string , Please help Me in conversion. |
The End.