Search:

Type: Posts; User: syedbhai

Page 1 of 9 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    2
    Views
    1,036

    Re: Help me find the error here.

    Hello.
    I executed your code in ubuntu. It worked without any exceptions.
    Please try to run again.

    Syed.
  2. Replies
    1
    Views
    1,344

    Re: Java heap space

    Hello.
    There is one config file somewhere in tomcat folder.
    Did you go and change the size there? You already said you did. But still I wanted to make sure if you did the right way.

    ...
  3. Thread: IO Questiong

    by syedbhai
    Replies
    2
    Views
    890

    Re: IO Questiong

    Hello.
    If we want to modify an existing file by deleting its content this is the only basic solution.
    (a) copy the data from the source file to a target file discarding the unrequired data.
    ...
  4. Re: please assist me to run this code in a java Graphical User Interface

    Hello.
    Very simple. Your entire code should run in a JFrame or JApplet.
    And for input from keyboard use JOptionPane.

    Syed.
  5. Re: suggestions required on Jlabel(ImageIcon) and Jbutton for mouselistener

    Hello.
    I did not talk of interaction with JLabels. JLabels are passive components which means users will never interact with them.
    Still, if we want to display an image using JLabel I said its...
  6. Re: suggestions required on Jlabel(ImageIcon) and Jbutton for mouselistener

    Hello.
    I guess JLabel works very well with ImageIcon.
    Can you post your code? Let me see the look-and-feel.

    Syed.
  7. Replies
    3
    Views
    1,255

    Re: Error ? Jgrasp ...

    Hello.
    First, do you know what a prime number is?
    Your logic says you don't.

    Syed.
  8. Re: Greek characters are stored in mysql database like "?????????".Please help.

    Hello.
    I have asked you to write a console app in java. Not the one you have already written earlier.
    Did you write one more separate console app just to ensure if the data is stored properly...
  9. Replies
    5
    Views
    1,374

    Re: moving time line creation

    Hello,
    Its 100% doable using C.
    In fact C has API to do this.

    Syed.
  10. Re: Greek characters are stored in mysql database like "?????????".Please help.

    Hello.
    I see. Thanks for the update.
    Now can you write java console application. Just use plain JDBC. Insert some data using the program.
    And read it at the command/shell prompt.
    Let...
  11. Replies
    5
    Views
    1,374

    Re: moving time line creation

    Hello.
    Do you know the basic rule for doing animation using programming? If not please refer the chapter "Graphics Programming" in the textbook "Let us C" by Y Kanetkar. It talks about animation...
  12. Re: Greek characters are stored in mysql database like "?????????".Please help.

    Hello.
    I would suggest this.
    Login to MySql database directly from the command prompt in windows or shell terminal in linux. Try to insert some data. And then read this data. See if you get...
  13. Replies
    4
    Views
    1,083

    Re: Needa different book recommendation

    Hello.
    You can try the following:
    (1) http://www.oracle.com/events/global/en/java-outreach/resources/java-a-beginners-guide-1720064.pdf
    (2) Core Java 2 Fundamentals by Horstmann
    (3)...
  14. Replies
    1
    Views
    1,027

    Re: Windows Services in Java

    Hello,
    I didn't get your question.
    Do you mean how to run a java program as a windows service?
    If yes there are third party utilities that you can use to convert a java class into windows...
  15. Re: How to let hibernate know where to look for configuration file

    Hello.
    You can just give the full absolute path name for the hibernate config file in the java code.
    And while running the program you need to set the classpath settings appropriately so that...
  16. Replies
    11
    Views
    2,260

    [SOLVED] Re: java -jar path problem

    Hello.
    Sure. Please find attached the screenshot. I wanted to attached the executable jar as well but looks like I can't do that.
    If you get any questions please let me know.
    The...
  17. Replies
    3
    Views
    1,197

    Re: guide me please

    Hello.
    If you want to evaluate arithmetic expressions you can directly parse the given expression into tokens and compute the answer.
    Another much better way is to convert the given expression...
  18. Replies
    11
    Views
    2,260

    [SOLVED] Re: java -jar path problem

    Hello.
    I tried in Ubuntu.
    It worked well.
    Can you try again?

    Syed.
  19. Replies
    2
    Views
    1,561

    Re: xml file parsing using xsd file in Java

    Hello.
    You can use JAXB as suggested earlier by someone.
    You can also use JAXP to parse the XML document.
    You can find sample programs by doing google search.

    Syed.
  20. Re: How to move jbutton left to righ using java threads

    hello,
    are you talking about rotating a button or moving the button from extreme left to extreme right in the window?

    Syed.
  21. Replies
    4
    Views
    1,020

    Re: java - inheritance

    Hello,
    You are just not printing the areas. Add print statements.

    Syed.
  22. Replies
    6
    Views
    1,526

    Re: Is Hibernate worth it?

    Hi.
    I am sorry. Its hbm2ddl.auto property. You are right.
    Hibernate configuration seems to be ok. Can you show the mapping configuration?
    Also, can you print the entire stack trace if...
  23. Replies
    6
    Views
    1,526

    Re: Is Hibernate worth it?

    Hello,
    Check your hibernate configuration.
    You need to set up the hbm2ddl_auto property appropriately.

    Thanks,
    Syed.
  24. Replies
    8
    Views
    1,308

    Re: how to rotate one by one jbuttton

    Hello.
    The image did not help me.

    Syed
  25. Replies
    5
    Views
    1,627

    Re: Dought regarding Function Overloading

    Hello.
    There is something called scope resolution operator in C++. It helps avoid ambiguity problems in multiple inheritance.

    Syed.
Results 1 to 25 of 220
Page 1 of 9 1 2 3 4