can you show me the code where you are saving data to database (local)?

Your quesiton is not clear, please give an example with your question that what you want to achieve, Any how i just guessed that synchronization can be your issue , check this link it will help you to grab the basic knowledge of synchronization.

I compiled your code at first i got the errors you have described, so i took some parts and re compiled one by one .. Your code is o.k it works. Use Random Access File Class, it helps you to position your cursor on desired location on file and over write the sold objects with empty spaces. And instead of using text file why dont you use database, like mysql or access. or you can move towards xml to make the process more efficient.

You havnt mentioned your code. But according to the error you mentioned this thread can help you.

When i started the J2ME i used this forum Hope this help you too.

Kindly paste the error or explain it. Reading a huge code is a bit difficult for every programmer.

Your question is not clear, kindly please paste some code and some explanation to elborate your problem.

Your welcome, kindly please close the post if it solved your problem, so in future other can be benefited.

Swing is the primary Java GUI widget toolkit. It is part of Oracle's Java Foundation Classes (JFC) — an API for providing a graphical user interface (GUI) for Java programs.

Swing was developed to provide a more sophisticated set of GUI components than the earlier Abstract Window Toolkit (AWT). Swing provides a native look and feel that emulates the look and feel of several platforms, and also supports a pluggable look and feel that allows applications to have a look and feel unrelated to the underlying platform. It has more powerful and flexible components than AWT. In addition to familiar components such as buttons, check boxes and labels, Swing provides several advanced components such as tabbed panel, scroll panes, trees, tables and lists.

Unlike AWT components, Swing components are not implemented by platform-specific code. Instead they are written entirely in Java and therefore are platform-independent. The term "lightweight" is used to describe such an element.

More Links

engrjawad commented: Nice Info +0

You actually need to learn events through buttons in c#.
Check out the link.

You have to change your key listener from Released to Pressed. Reason is on release it check so your characters go out of range. Hope this help.

 public void keyPressed(KeyEvent key)

I want to control a row inside DGV. I have already applied the keypress event with DGV but it doesnt work.

Majestics 84 Posting Pro

I am working on grid view in c#. I want to attach a key press listener with grid view to dectect up and down keys. I tried "Editcontrol" but it didnt worked. Also "Keypressed event" with grid view , it also didnt worked. Before that I used "Mouse Event" and it worked the way i want... Any help will be greatly appreciated.

Majestics 84 Posting Pro

I have created a project in At the time of implemenation it require framework and updations which become a headace, i want to remove this .net nature from my application. I mean to say i want to embed the dll libraries with the application so they become independent of frameworks.. Is there any possible way? Thank you for your precious comments in advance.

It isnt difficult, all you have to learn graphics library of java. Its drawing of a rectangle and putting buttons over it. Also u can draw a jpanel and put buttons and increase it size gradually.

this website will help you.

Woooo great thanks alot. I like the php motion , and clip bucket in them..

i just found one... can u list some?

Majestics 84 Posting Pro

Are there any open source video hosting complete websites?

its because scanner class reach to end when counting the letter. It will return 0 for other two.
1) You can solve this by making a string. and pass that string to scanner
2) make a custom class which has three variable count, total count and length. and make function accordingly and check all of three variable in a function.

yes there is, place that file with the jar, or in a folder with the jar.
Like FILES in folder. then reference throught
Thats how you can make it dynamic, it will work on all platform.

for checking strings use equal function. == sign doesnt work properly while checking strings.

E.g String a  = "hello";
    a.equal("hello"); // ---- true ----------------

Better check the documentations for these warnings.

This error is because of serializable class. You have two ways to eliminate this

1) Give it a ID
private static final long serialVersionUID = any_Id;

2) If you using eclipse then use
@SuppressWarnings("serial") // this anotation will disable the warning because of serial.

vinnitro commented: thnx for helping it worked +2

If you are using JDK 1.7.0 then you have to use generic type as stated in its documentation

You wont find that problem in 1.6.

You can follow two syntax for loading image

//-------- Directly File Location ------------------


//-------------- Load an image from image object -----------------
this.pictureBox1.Image = image;

there is no need for OR operator.... use this

    //-------- use to upper function to make it in one case and equal to compare them.
    // Above is java syntax i hope there will be same in c#

First Problem Solution : Select All deptno and then select the user specific dept no. and make it selected

Please post your code here, so i can check it out.

Is it shuting down during booting process or after boot? Can be battery problem.

Caches is a intermediate memory which is required to hold data. This provide faster performance by hardware. In computer cpu has registers then caches. L1 Come first then L2 and then L3 and so one. In last it has access to Ram. The more near to cpu the more it is faster. If we eliminate the register and cache memory and consider ram is only source for temporary storage then cpu will take longer time to process the application which effect the computer performace badly.

As the near to cpu the most faster they are , which make register very fast. but it is very costly to build register so cache was introduced to take extra heavy burden.

L1 can have more or less memory the L2. But L1 memory is faster because it is present in each single cpu. If you have multi core cpu then you will have multiple L1 cache. L2 on other hand is shared among all cpu cores.

If the size of L1 was the same or bigger than the size of L2, then L2 could not accomodate for more cache lines than L1, and would not be able to deal with L1 cache misses.