Search:

Type: Posts; User: DanBrown

Page 1 of 6 1 2 3 4

Search: Search took 0.33 seconds.

  1. Replies
    1
    Views
    3,573

    Re: Simple Hill Climbing algorithm?

    String Functions

    the above link can help you
  2. Replies
    4
    Views
    667

    Re: Student Programs

    What type of project you are looking for ?
    Some desktop application :- Student management,Hospital Management ..

    or
    Some utilities like:
    Image Cropping tool ,Word Pad, Screen Stealer etc.

    or...
  3. Re: Have Problem with if condition...Please Help me...

    try to print isLost value of the book after disposing the book. Probably your setting it true at the time of disposal.
  4. Replies
    1
    Views
    251

    Re: Some much needed help, and questions.

    JFrame prog = new JFrame("Chris's file synchronization");

    GridLayout topPanel = new GridLayout(4,1);
    prog.setLayout(topPanel);

    JPanel P1 = new JPanel(); ...
  5. Re: Shortcut executed or in-background running Java application

    As per my knowledge : you can also run your application in tray and can invoke your application by simply clicking on it or can invoke popup menu to ask what operation you want to perform.

    How to...
  6. Replies
    8
    Views
    1,577

    Re: Beginner java programmer!

    your code is like puzzle.

    You are creating Pane one time and adding the same pane to different locations.
    Same with your other components.

    Dear if your are creating one object of any component...
  7. Re: What's wrong with simple Scanner program?

    you cannot compare String object with "=="
    for String comparison
    use
    "a".equals(first)
  8. Replies
    2
    Views
    265

    Re: Need help, please.

    You need to type cast computerArray[i] to specific class
    like : Laptopn lap = (Laptop) computerArray[i];
    and then use
    lap.getSize();

    Similarly you can type cast for Desktop
    :-bd
  9. Replies
    5
    Views
    429

    Re: How to add buttons on this code

    Where you want to add button my dear?
  10. Replies
    5
    Views
    429

    Re: How to add buttons on this code

    import java.text.DecimalFormat;
    import javax.swing.JOptionPane;

    public class MortgageCalculatorGUI///Name of my File and Class
    {
    public static void main(String[] args){
    double...
  11. Replies
    1
    Views
    1,726

    Re: GUI - calculate BMI (need help asap)

    variable declared in try block has local scope in the block,these variables cannot be accessed outside the try block, so declare them outside try block.

    double weight = 0.0f;
    double height =...
  12. Replies
    0
    Views
    890

    Urgent: invalid stream header: 5B47656E

    if (fileDialog == null) {
    fileDialog = new FileDialog(frame);
    }
    fileDialog.setMode(FileDialog.LOAD);
    fileDialog.show();

    String file = fileDialog.getFile();
    if...
  13. Replies
    3
    Views
    606

    Re: loop generate?

    had you tried something to solve this problem.Sorry, we can help you only if you show some effort from your side.
  14. Replies
    1
    Views
    999

    Re: Completely lost, creating a bar graph

    Comment this line



    System.out.print(years);
    salary *= 2;
    int last = (int)salary;
    int step = 1000;
    for(int start=1000;start<=last;start=start+step){
    System.out.print("*");
  15. Replies
    3
    Views
    3,858

    Re: Display Servlet Output into JSP Page

    Transactions tr = new Transactions()

    this class is in web-inf/classes folder

    Transaction is an helper java class.

    And my Jsp page is outside the web-inf where we generally put our html...
  16. Replies
    3
    Views
    3,858

    Display Servlet Output into JSP Page

    Hello Friends,

    I want to show the output return by the below given servlet into jsp page .



    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
  17. Replies
    1
    Views
    783

    Re: Character Array

    Click here

    Try the above given link , this will solve your problem
  18. Replies
    1
    Views
    620

    Re: Adding cards back into deck

    Your question is not clear to me , if it is possible can you make it more clear.
  19. Thread: New here

    by DanBrown
    Replies
    2
    Views
    337

    Re: New here

    Welcome
    enjoy programming
  20. Thread: Dear sir

    by DanBrown
    Replies
    1
    Views
    376

    Re: Dear sir

    are you looking for some web project or other.
  21. Thread: Help in Login

    by DanBrown
    Replies
    1
    Views
    725

    Re: Help in Login

    when its showing you blank page.when you are requesting for page , when login fails , when login successful.

    when?
    Please be clear with your problem.
  22. Replies
    1
    Views
    1,322

    Re: Create Multiple Arrays from a text file

    import java.io.*;
    import java.util.StringTokenizer;

    public class Project1 {

    public static void createArrays(){
    int[] nums = null;

    try {
    File file1 = new File("file1.txt");
  23. Re: Program to read & write the Employee Records

    This forum is not to provide free java source codes, this is to help you if you stuck some where in your program.
    try your assignments yourself and if any problem is there we are here to help you.
  24. Re: Change the random draw line here for a mouseListener draw

    click here
  25. Replies
    10
    Views
    2,048

    Re: Getting length of individual token?

    I think my dear , instead of asking others for pointing out the mistake.You should try it more than 10 times.Because this is the only way to improve your skills.
    I am feeling you are not taking...
Results 1 to 25 of 135
Page 1 of 6 1 2 3 4