383 Posted Topics
How to add serial number like column in jtable at left side of jtable? | |
Re: [code] catch (SQLException ex) { return false; } [/code] Add this and try again. As ur catch exception dont have return thats y u are encountering this error. | |
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... :) | |
Re: Static keyword is visible to all instance so its updated from 0 to 2, while when u dont use static then "i" original value get printed, which is new for each instance. | |
is there any open source project for custom menu for java desktop app? | |
Re: Seems like firewall issue, please open port on which you want to communicate. | |
Re: [url]http://algoval.essex.ac.uk/software/video/JavaRTVK.html[/url] Require API | |
Re: [url]http://www.java2s.com/Tutorial/Java/0240__Swing/CreatingaJTable.htm[/url] You are missing table model. Also ur one must work. | |
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); … | |
Re: Yes, u require a user table in database to handle this thing. Try Oracle or access according to your requirement. Or make ur own file which store username and password and encrypt it. | |
Re: check your ArrayIndex as well, you need to minus when u press previous [code] 397 ArrayIndex = ArrayIndex + 1; // increment the array index to get to the next value [/code] Also you need else if statement to jump on first. | |
Re: [url]http://www.roseindia.net/java/beginners/TypeCasting.shtml[/url] It isnt a question answer Forum, u can search easy question like this over google. Still check above link. | |
Re: Same problem was with me too... So i simply made a jar with libraries and put images in a seprate folder and made a extract. | |
Re: [url]http://letshare.it/blog/saving-file-to-computer.html[/url] Cross Posted. I think you are choosing a directory. | |
Re: Zero Time. Check ur condition its a straight forward maths question. 1 cant be greater then 1, which causes loop condition false and it ends before it starts. | |
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 … | |
Re: [code] JOptionPane.showMessageDialog(null,"Yahoo\nHotmail\nGmail"); [/code] :) , Also urs one is correct. | |
Re: [code] tmodel.removeRowSelectionInterval(0,3); // Seems Wrong [/code] Because row selection can be more then total rows. Same for Add Rows. | |
Re: [code] line 6 SequenceFilesFromDirectory [/code] Last Error belongs to it, U have to make object first. | |
Re: What do u want to ask, referential integrity isnt any matter with java....Sql Classes in java load data according to query and you can show them in any table as you want. | |
Re: An abstract class is a class that is declared abstract—it may or may not include abstract methods. Abstract classes cannot be instantiated, but they can be subclassed. [url]http://download.oracle.com/javase/tutorial/java/IandI/abstract.html[/url] | |
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 … | |
Re: // Use this constructor FileWriter("PATH",boolean append) i mean to enable append use FileWriter("PATH",true); | |
Re: Try Birt Report or Jasper Report. U can also use oracle reports and crystal reports, Unless u want to create your own reporting software. | |
Re: Check JSP(JAVA SERVER PAGES). [url]http://en.wikipedia.org/wiki/JavaServer_Pages[/url] | |
Re: Click the Src package u have made, i think you must clicked some library and running the application.... | |
| |
Re: yes indeed its easy to create such things in java. You can also use vb.net and vc#.net. Search the basics from the internet and try posting code.... We cant help without code nor we can make your project. For Accomplisment check 1) JTable 2) Listener 3) JButton 4) JPanel 5) … | |
Re: After a normal choice loop will bring you back to again selecting new choice state, so press 'X' to exit. | |
How to add flash objects in java without Java Flash Player Api? Any idea. Just hint required. | |
I want to change my email address from [email]greatmajestics@hotmail.com[/email] to [email]greatmajestics@yahoo.com[/email] , i want to recieve alerts on yahoo ID.. But when i tried to change it give me already present warning... It is requested to admin or mod to please correct this problem. | |
Re: Piece of cake [code] int a[][] = new int[2][4]; Define and SetSize [/code] You can google many example on 2D Array. Like [url]http://leepoint.net/notes-java/data/arrays/arrays-2D.html[/url] | |
Re: Yes, it is possible, google some example , i saw alot example when i was learning jtable... You can modify jtable according to your requirement. | |
Re: NormR1 Right. Here is the syntax [code] Answer.equals("A") [/code] | |
Re: [url]http://download.oracle.com/javase/tutorial/uiswing/components/dialog.html[/url] you dont need form , you need dialogue boxes. | |
Re: 1) My fav book [url]http://www.amazon.com/Java-2-Complete-Reference-Fifth/dp/0072224207[/url] | |
Re: Setting font size isnt ur problem... Its your layout problem. | |
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 … | |
Re: 1) Use code Tags 2)SortNow(); // No paramater 3)private int SortNow(int[] a,int i, int n) // Three Paramter You are calling a function which dont exist... Pass paramters or make empty paramter function. | |
Re: [url]http://www.javalobby.org/articles/jtable/[/url] Read it, your concept will get clear. | |
Re: [url]http://www.java-tips.org/java-se-tips/javax.swing/how-to-create-a-simple-browser-in-swing-3.html[/url] 1) Above is a simple web browser coding 2) Paste your code. | |
Re: //opening Frame B [code] frameA.setVisible(false); frameB = new JFrame(); frameB.setVisible(true); //Or frameB.setVisible(true); [/code] // Closing Frame B [code] frameA.setVisible(true); frameB.dispose(); [/code] Just remove your title bar from frame B and provide a close button. | |
Re: Yes , seems to like a bug, I have checked it.... But this wont effect your application, its a application dependent bug. | |
Re: Hahaha You must be kidding , no body will read this much for you... Make a small demo so we start helping you. Atleast divide them in small task. | |
Re: If you want portability use java, java is good but it dont give platform dependent api, also we can use some bridges but slow in that case... C++ is best in case of platform depedency.. | |
Re: [code] //Wrong for (arrayPosition = 0; arrayPosition == cipherText.length(); arrayPosition++, letterPosition++) //Right for (arrayPosition = 0; arrayPosition < cipherText.length(); arrayPosition++, letterPosition++) [/code] You have used == instead of less or greater then symbol on line 29 ![]() |
The End.