107 Archived Topics

Remove Filter
Member Avatar for Majestics

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 …

Member Avatar for Majestics
0
119
Member Avatar for Majestics
Member Avatar for Majestics
0
161
Member Avatar for Majestics
Member Avatar for Ezzaral
0
96
Member Avatar for Majestics

I have encountered ORA 00604 Error, while i was accessing database from my app over Vista system over network, it runs ok on database system... Can any one help me please finding out the solution.

Member Avatar for Majestics
0
94
Member Avatar for Majestics

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... :)

Member Avatar for Majestics
0
167
Member Avatar for Majestics
Member Avatar for Majestics
0
214
Member Avatar for Majestics

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); …

Member Avatar for Majestics
0
184
Member Avatar for Majestics

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 …

Member Avatar for NormR1
0
114
Member Avatar for Majestics

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 …

Member Avatar for SamuelD
0
312
Member Avatar for Majestics

How to add flash objects in java without Java Flash Player Api? Any idea. Just hint required.

Member Avatar for Majestics
0
100
Member Avatar for Majestics

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]

Member Avatar for Majestics
0
115
Member Avatar for Majestics

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.....

Member Avatar for mKorbel
0
101
Member Avatar for Majestics

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 …

Member Avatar for Majestics
0
239
Member Avatar for Majestics

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?

Member Avatar for mKorbel
0
109
Member Avatar for Majestics

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...

Member Avatar for Majestics
0
250
Member Avatar for Majestics

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. …

Member Avatar for drmrkrch
0
167
Member Avatar for Majestics

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.

Member Avatar for Majestics
0
112
Member Avatar for Majestics

How to open already present text file... So user can see the data in that file... I dont mean FileInput or OutputStream open.

Member Avatar for peter_budo
0
88
Member Avatar for Majestics

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 …

Member Avatar for Majestics
0
88
Member Avatar for Majestics

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

Member Avatar for Majestics
0
109
Member Avatar for Majestics

[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]

Member Avatar for mKorbel
0
116
Member Avatar for Majestics

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....

Member Avatar for Majestics
0
137
Member Avatar for Majestics

[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 ....

Member Avatar for peter_budo
0
92
Member Avatar for Majestics

When we define a new variable for frame it hold "null" value, but what it contain when we close that frame?

Member Avatar for Majestics
0
300
Member Avatar for Majestics

Oracle accept dates in '00-JAN-0000' format, is there any way i can change it to '00-01-0000'.

Member Avatar for debasisdas
0
162
Member Avatar for Majestics

[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 …

Member Avatar for Majestics
0
234
Member Avatar for Majestics

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.....

Member Avatar for mKorbel
0
233
Member Avatar for Majestics

I want combo box in jtable visible from start not when i click the cell... any idea?

Member Avatar for Ezzaral
0
145
Member Avatar for Majestics

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 …

0
73
Member Avatar for Majestics

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 …

Member Avatar for Majestics
0
156
Member Avatar for Majestics

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 …

Member Avatar for SharedKnowledge
0
156
Member Avatar for Majestics

2 networks with seperate internet , i want to join them , is there any method...

Member Avatar for Majestics
0
167
Member Avatar for Majestics

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 …

Member Avatar for masterjiraya
0
105
Member Avatar for Majestics

I want to embed microsft notepad in my java application.... is there any way... i dont want to use java own made notepad....

Member Avatar for JamesCherrill
0
101
Member Avatar for Majestics

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 …

Member Avatar for jingda
0
164
Member Avatar for Majestics

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, …

Member Avatar for Majestics
0
106
Member Avatar for Majestics

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 …

Member Avatar for mKorbel
0
189
Member Avatar for Majestics

How in java we can add double menus, like file bar and search bar both are different in internet explorer? Thanks in advance.

Member Avatar for Majestics
0
100
Member Avatar for Majestics

[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.

Member Avatar for BestJewSinceJC
0
94
Member Avatar for Majestics

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.

Member Avatar for jamesonh20
0
83
Member Avatar for Majestics

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 …

Member Avatar for Majestics
0
129
Member Avatar for Majestics

[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. // …

Member Avatar for GDICommander
0
192
Member Avatar for Majestics

[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 …

Member Avatar for Majestics
0
188
Member Avatar for Majestics
Member Avatar for Majestics
0
120
Member Avatar for Majestics

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 …

Member Avatar for Majestics
0
155
Member Avatar for Majestics

[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 …

Member Avatar for Majestics
0
111
Member Avatar for Majestics
Member Avatar for MosaicFuneral
0
137
Member Avatar for Majestics

[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 …

Member Avatar for pclfw
0
146
Member Avatar for Majestics

[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 …

Member Avatar for Majestics
0
106
Member Avatar for Majestics

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.

Member Avatar for stilllearning
0
2K

The End.