User Profile

Collapse

Profile Sidebar

Collapse
sezanawa
sezanawa
Last Activity: Dec 12 '07, 11:35 AM
Joined: Sep 25 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Hi,

    Well after waiting a week where nobody has written back me. I started digging into XML, Jdom library. There i find very simple solution for deleting an element from XML file by confirming its attribute value.here i am posting my solution.
    Code:
    public boolean removeUserByID(String id){
            String fileName = "C:/users.xml";
            SAXBuilder builder = new SAXBuilder();
            Document
    ...
    See more | Go to post

    Leave a comment:


  • How to remove an Element from XML by confirming Attribute of that element

    Hi guys

    I have an XML file where i have all users DB. Now i want to remove a user from that XML file. I want to check an user id attribute which is uniqe with existing users in XML file, if its the same user then delete this user from XML file and save the changes in XML file.

    here is my XML file:
    [HTML]
    <?xml version="1.0" encoding="UTF-8"?>
    <users>
    <user...
    See more | Go to post

  • sezanawa
    replied to Why Joptionpan does not show on TOP
    in Java
    Thanks man,

    But what should be a parent. I searched for an example but i did not find. Can u please write me a little code example.

    Thanking u in advance

    best regards...
    See more | Go to post

    Leave a comment:


  • sezanawa
    started a topic Why Joptionpan does not show on TOP
    in Java

    Why Joptionpan does not show on TOP

    Hi Guys,

    I have a problem with JOptionpan. I m using JOption pane for showing messages or even Exceptions etc. But it does not poped up on TOP.

    Its always behind parent windows.

    I think i need to specifiy JOptionpane to display on TOP of all windows or dialogs. But how should i do? i really dont know. Can any one tell me how it works. I past my code below.

    [HTML]
    import java.io.Filenam eFilter;...
    See more | Go to post

  • Hi,

    Thanks, I gonna read Java Tutorial.

    Thanks again

    best regards...
    See more | Go to post

    Leave a comment:


  • How To Deploy Java Desktop Application Under Windows and Linux

    Hi Guys,

    I am new to java deployment things. Specially for desktop applications. I used to work with J2EE and i did deployment only for web projects.

    Now i have developed a small desktop application. Its based on java swing. My application gonna serve on windows and linux systems. Now i want to deploy my application along with all libraries etc.

    Simply i dont know how to do that. I googled for such a...
    See more | Go to post

  • sezanawa
    started a topic how to display chines char in JList
    in Java

    how to display chines char in JList

    Hi Guys,

    I want to display different languages fonts in a JList. But i think on my windows is only European languages support is installed. Should i need to install support for East Asian languages on my system to display chines character in list box?

    If yes then when i deploy my application then i need to tell each client to install this support ?? which i think is not a good idea. Is there any way i can include different...
    See more | Go to post

  • sezanawa
    replied to jdialog dispose not works properly
    in Java
    Thanks Man,

    I am actually using a GUI Plugin named Jigglo. I just used there provided Event. I did not understand when i debugg program it works prefect but when i run it, it does not work. I am using Eclipse as IDE.

    What could be a reason for this problem.???

    Ok i gonna try it with Action Performed.

    Best regards...
    See more | Go to post

    Leave a comment:


  • sezanawa
    started a topic jdialog dispose not works properly
    in Java

    jdialog dispose not works properly

    Hi Guys,

    I have a small application which i wrote in Java. There is a MainFrame extends jfram class. There is another class named LoginDialog extends JDialog.

    My MainFrame class have main method where i create object of my Dialog class before i do setVisible(true ) for MainFrame.

    I just want that Login Dialog appears first and if user get authentication from System then it show MainFrame window.
    ...
    See more | Go to post
No activity results to display
Show More
Working...