Search:

Type: Posts; User: mariosarmy

Page 1 of 2 1 2

Search: Search took 0.32 seconds.

  1. Replies
    1
    Views
    2

    Builder pattern

    I am currently reading the book effective java and there is section where a class has a private constructor and an inner class assigns parameters to the outer class.WHY to do that and when i try to...
  2. Re: I have a problem with slider in java swing

    WOW Thanks so much , i was very close.How i will become so good as you? You read many books , hours of programming or it's a secret ;))
    How i will give you a thumps up for the help?
    :cool:
  3. Re: I have a problem with slider in java swing

    My task is very simple.Look Equivalent Fractions.I want to do that using java language.When i drag the slider to paint rows(or columns) in the white box.
    First, i am not sure if my though is correct...
  4. Re: I have a problem with slider in java swing

    I divide the size of jpanel with the slider value, so if the user selects 2(counter) then stepping=400/counter and then with a for loop i want to draw lines each time +stepping

    paint component(){...
  5. Re: I have a problem with slider in java swing

    I have created a jframe, jpanel and jslider then i have add change listener on jslider so on change i save the value in variable and i have a for loop to draw n lines in jpanel.I have created a...
  6. Re: I have a problem with slider in java swing

    I have read the lessons but my problem remains can anyone help me with my code?My purpose is to divide a jpanel when i slide the slider.For example when i slide to 2 then divide the jpanel with a...
  7. Re: I have a problem with slider in java swing

    Yes that i want to do! Can you suggest me links that can help me with that?



    MyDrawPanel panel;
    JFrame frame;
    int x = 0;
    int counter = 0;
    int stepping = 0;
    JSlider...
  8. Re: I have a problem with slider in java swing

    I want to divide equally a jpanel by creating random sub panel with the slider value. something like this Equivalent Fractions



    public class DividePanel {

    JPanel PanelBoxes;

    ...
  9. Re: I have a problem with slider in java swing

    Can you explain me please how to do it with the right way? :)
    I noticed that when i tried to resize the jframe the components appeared.
  10. I have a problem with slider in java swing

    Hello,
    I have a problem with slider which i want to create jlabels in a panel by sliding the slider and get the value but the jlabel doesn't show in jpanel.below is the code :


    JPanel...
  11. Replies
    1
    Views
    97

    read integers not text

    my code is below and i want to read only integers.BUT the text file is starting with text and it stops executing without reading the numbers.
    Also i want to add the 3 parameters of each line....
  12. Replies
    4
    Views
    344

    Re: action listeners on java

    private void Customers_TableMouseClicked(java.awt.event.MouseEvent evt) {

    carsModelcmb.setSelectedIndex(0); //set selected...
  13. Replies
    4
    Views
    344

    action listeners on java

    I want to set a jcombobox selected index to -1 when i click to enter text in a jtextfield.But when i set that line of code in jtextfield action performed then triggers the action performed of the...
  14. Re: How much to charge for a customized software application

    Ok mate, lets leave the payment at side i will handle it.Can you suggest me a book or an online tutorial or something else to become better?
    I have already the Head First Java 2nd edition and i am...
  15. Re: How much to charge for a customized software application

    Ok,i wonder if you can guide me to develop a worthy for money application.If there is a link with open source large scale projects.
    :)

    --- Update ---

    I can do more,he asked me develop a simple...
  16. Re: How much to charge for a customized software application

    26072608
    Thanks guys for the advice.I have uploaded images to judge better(i think).
    :rolleyes:
  17. Re: How much to charge for a customized software application

    Where are you from?So in your country that kind of programs cost no more than 50 euros and also if you can to describe me a program that worths the money i have mentioned above.
    :-B
  18. Re: How much to charge for a customized software application

    Thanks for the advice.I will give it to him, test it and if he thinks it worths the money then i will ask for a payment(not much).You mentioned employment, in my country the situation is very bad.The...
  19. [SOLVED] Re: A textfield to be filled before the update

    SOLVED :cool:


    BUTTON UPDATE ACTION PERFORMED FUNCTION

    String name=txtname.getText();
    String surname=txtsurname.getText();
    String street=txtstreet.getText();
    ...
  20. [SOLVED] A textfield to be filled before the update

    Hello guys,
    I have a problem with my code.I want a textfield to be filled before the update.So my code

    if (textfield.getText().is Empty()){
    show message dialog ("Please fill the textfield"); ...
  21. Re: How much to charge for a customized software application

    It's hard because we are great friends.I think 500-600 euros is good price tag but i don't know if it sounds high a bit.
    :confused:
  22. Re: How much to charge for a customized software application

    I did the application using Netbeans and jframe.I have 3 jframes,welcome screen which the user must enter username and password to continue, the second contains textfields to store the customers...
  23. How much to charge for a customized software application

    Hello guys, I wonder how much does it cost an application.I did an application for my car engineer to store his clients in mysql database.I don't know how much to charge him.
    :cool:
  24. Re: Greek characters are stored in mysql database like "?????????".Please help.

    After many hours i found that it's when i assign the variable with greek characters in sql to execute it that cause the problem.

    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have...
  25. Re: Greek characters are stored in mysql database like "?????????".Please help.

    2416
    I have run the application with greek letters but the problem remains.I made the app in the photo.Sorry i am beginner.
Results 1 to 25 of 29
Page 1 of 2 1 2