Search:

Type: Posts; User: cnmeysam

Page 1 of 9 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    do you have any solution for fix this? Even if it is not like the IDE generator!:D

    --- Update ---

    It is enough To stick the datePanels to the extends JPanel From left and right and up and down
  2. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    How should the upper text box size change like the lower text box when adjusting? i cant find in class how i must set datePanels to extends JPanel like jtext and button Which is set datePanels with...
  3. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    in Gregory date after getDate show this
    Tue May 04 00:00:00 IRDT 2021
    in Hijra date after getDate show this
    Hijrah-umalqura AH 1442-09-22
    and now get date from jtext if like Gregory set...
  4. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    now i don't know how i must fix this code


    public HijrahDate getDate() {
    try {
    return getDefaultDateFormat().parse(formatted);// this part must be remove it is for...
  5. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    yes and i think after that just i have one problem and finish this god damn project:D

    --- Update ---

    It took me a lot of time and energy to get a free component and publish it and make it...
  6. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    i think return new Date(); return new date in gregorian date
    but i don't know return getDefaultDateFormat().parse(formatted); return what?! if i know maybe i can fix this problem
  7. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    I have tried to create it before but could not create it
    this is spell: HijrahDate


    HijrahDate hijrahDate = HijrahDate.now();
    HijrahDate today = HijrahChronology.INSTANCE.date(1442, 10, 15);
    ...
  8. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    hijridate

    --- Update ---


    DEFAULT_DATE_FORMAT = "yyyy/MM/dd"
    something like this


    String getHDateString() { // ADDED
  9. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    i need value inside datetext.getText();

    --- Update ---

    cannot find symbol
    symbol: method getText()
    location: variable hijrahextendsJPanel1 of type HijrahextendsJPanel

    --- Update ---
  10. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    void getText(String string) {
    datetext.getText(string);
    }

    no suitable method found for getText(String)
    method JTextComponent.getText(int,int) is not applicable
    (actual...
  11. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    Any text written inside the text box is of date type like 1442/10/21
    and getDate print hijri year and Gregorian month and day

    --- Update ---


    ...
  12. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    ok perfectly i add string and date now i can use both of them :D

    --- Update ---

    now how i must fix get text when i user hijri.getText();


    boolean getText() {
    throw new...
  13. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    method setText in class JTextComponent cannot be applied to given types;
    required: String
    found: no arguments
    reason: actual and formal argument lists differ in length

    now how i can fixe...
  14. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    when use hijridate class as component in other form i see a hijri date chooser some times i need set a date in the hijri date chooser text like when i load date from database and when use...
  15. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    it's fixed i jut must change this part of code I should have written 1 instead of da


    HijrahDate hijrahDate = HijrahChronology.INSTANCE.date(ye, mo, 1);
    for set first day of month


    private...
  16. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    Unlike you, I always work at night and sleep during the day. I am always talking to you from 10 pm to 3:45 am.
    Because I concentrate better in silence now here is 2:02 AM
    The interesting thing is...
  17. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    when after 12AM go to new day or i change it manually
  18. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    The problem is that until the system date is not changed, the code works perfectly. I do not understand why changing the system date causes all these problems when all the functions follow the Hijri...
  19. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    when i fix today date hijridate get in own place like "1442/09/20" Displays Sunday and change system date to 2021-05-03 hijridate show "1442/09/20" Monday
    And if another day goes by the system...
  20. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    but i don't know how i must fix this bug
  21. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    first month
    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
    The second month
    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 (30)...
  22. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    i change them like this


    private HijrahDate getCalendar() {

    HijrahDate today = HijrahChronology.INSTANCE.date(ye, mo, da);

    return today;
    ...
  23. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    i fond logic and reason it is because of this tow parts of code and must change to hiji date but i don't have any idea how change them


    private Calendar getCalendar() {

    ...
  24. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    i fix that
    someone like me and you from text or database or set date manually


    Where do those values come from? from text or database or set date manually
    i don't know but It should be
    ...
  25. Replies
    283
    Views
    4,587

    [SOLVED] Re: library for Hijra date chooser

    user must write like this like Gregorian. in Gregorian user use this method for Gregorian


    String sDate1="1402/09/20";
    Date date1=new SimpleDateFormat("yyyy/MM/dd").parse(sDate1);
    ...
Results 1 to 25 of 215
Page 1 of 9 1 2 3 4