59 Posted Topics

Member Avatar for recycle_carlbin

Hi PK is short for Primary Key and is data attributes that uniquely identify an entity. FK is short for Foreign Key and is a reference to the primary key of another entity. PF is short for Primary Foreign Key, and when a foreign key of an entity also is …

Member Avatar for recycle_carlbin
0
122
Member Avatar for dhawan.surinder
Re: Java

Hi Only to be sure, have you checked this on your computer? Java-Plugin-installed and activated? Popupblocker deactivated? Sounds maybe silly but sometimes it is the tiny details we forgot =)

Member Avatar for kvprajapati
0
86
Member Avatar for 4101

Hi =) I will give you an example to think about. Let us say that you want to do a register of media. First you create a superclass called Media. In this class you put the things that are common for all media regardless of what type of media it …

Member Avatar for sneaker
0
105
Member Avatar for MasterGoGo

[QUOTE=MasterGoGo;931643]I must've forgot, the error is:[/QUOTE] Hi Anonymous inner classes require final variables because of the way they are implemented in Java. The anonymous inner class is using a copy. of the local variable. By declaring the variable final (means that the inner class can not change its value) it …

Member Avatar for MasterGoGo
0
212
Member Avatar for KimJack

[QUOTE=KimJack;933969]I really hope that someone can provide some suggestions or help to guide me in the right direction. I am trying to use a scanner to parse a string and use its elements with methods. It is formatted as so: String line = "Mercedes, 124 124.11, 45"; When I parse …

Member Avatar for sneaker
0
3K
Member Avatar for spalax

Hi You say that you want to read the eight first line from my text file but your while loop is set to continue as long as the lines to read is not null. Your int[]var on the other hand has the length of 8 which means that you will …

Member Avatar for sneaker
0
289
Member Avatar for shanakaprabath

[QUOTE=shanakaprabath;931214]I wrote a program to write data in a text file to another text file .what i want to do is to open that modified second text file once I've entered data in to that[/QUOTE] Have you written any filehandler? Is your data saved as plain text (filename .txt) or …

Member Avatar for solahere
0
1K
Member Avatar for ndoe

Hi It looks like you have copy pasted your code and forgot to change some of it? One example is that the vertical alignment should be BASELINE not LEADING. I do not use Netbeans and have never made this kind of GroupLayout so I will not comment more about your …

Member Avatar for ndoe
0
143
Member Avatar for hell04

Hi I get the feeling that you are very new at programming Java and feel totally lost? I will not give you the code to this problem because then you do not learn anything. But I will give you some clues of what to think about. First make a class …

Member Avatar for hell04
0
126

The End.