JProgressBar in Java Swing

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 พ.ย. 2024

ความคิดเห็น • 22

  • @parthsalat3915
    @parthsalat3915 2 ปีที่แล้ว +4

    Telusko, you swapped videos 16 and 17 by mistake

  • @kevinparsley6806
    @kevinparsley6806 5 ปีที่แล้ว +2

    pretty sure best practice is using swingworker to update the progress bar which i expected to find specifically because this was all mentione din the desription:
    How to use JProgressBar in Java.?
    Loading Data from database.
    Connecting to network.
    all of which should involve swingworker.

  • @neelamchaurasia3549
    @neelamchaurasia3549 5 ปีที่แล้ว +1

    Sir your videos are very helpful.
    Thank you!!! But you make a very short video.sir please make more videos on gui using swing in more detailed. Make videos at least for 10 minutes

  • @raah-e-muwaffaqyat
    @raah-e-muwaffaqyat ปีที่แล้ว

    in case of using variables inside anonymous class, we have to declare it inside anonymous class only,
    like variable i=0.

  • @lizalcngg5037
    @lizalcngg5037 ปีที่แล้ว +1

    If anyone wondering if he skipped a video then let me tell you its in the next video. He just misput the videos into next one😂

  • @CodeWithSRtech
    @CodeWithSRtech 6 ปีที่แล้ว

    sir please give some ideas about progress bar in web application like profile strength creation using progress bar .

  • @rukminimortha
    @rukminimortha 9 ปีที่แล้ว +4

    iam not able to find video of calling jframe from another jframe
    can u please post it?

  • @atissshh6636
    @atissshh6636 4 ปีที่แล้ว +2

    It's giving error in object of timer Timer t = new Timer (200, this);

  • @daywattly
    @daywattly 5 ปีที่แล้ว

    I have a program that has a JFrame that pops up with a progress bar to let the user know that the program is working but the JFrame is empty until the end of the process. I have not found a solution as of yet.

    • @ricardocolladodev
      @ricardocolladodev 3 ปีที่แล้ว

      Hello, i am currently having same issue, how do you manage to solve this?

    • @daywattly
      @daywattly 3 ปีที่แล้ว

      @@ricardocolladodev I found the problem and can help with this, I’m heading to work right now but I can give you a short answer that might get you heading in the right direction. The GUI always finishes its update at the end of running code. I found 2 ways that work for me. 1st choice research eventQueue.invokeLater for the code you want to run after the GUI finishes. 2nd place the updating running code you need in the GUI class that is called and have it do the updating. The second may just be a circumstantial solution so I’d go with the first one.

  • @vishalgupta6931
    @vishalgupta6931 6 ปีที่แล้ว +1

    Sir ur screen speed and ur voice speed both exexute fast please slow

    • @atifayaz3495
      @atifayaz3495 5 ปีที่แล้ว +1

      use 0.75x playbackspeed.

  • @seekersseries5386
    @seekersseries5386 7 ปีที่แล้ว

    sir please make some video tutorials on inputMap class and actionMap class in java ,I'm currently doing project but i stuck in inputMap class that how to use and customize these classes ,waiting for your favorable reply and tutorials .

  • @codepalace5377
    @codepalace5377 9 ปีที่แล้ว +2

    i am not able to understand how u r telling 5 tik when u r writing 20 in jProcessBar(0,20);

    • @atifayaz3495
      @atifayaz3495 5 ปีที่แล้ว +2

      First it is JProgressBar(0,20); He is saying that the progress bar will be completed after 20 ticks, i.e. after every 250ms the Timer will call "this" object. So it will go to "actionPerformed" method of "this", check i, if not equal to 20, increment it. So, after 20 ticks i will be 20, and each tick took 250ms. So overall it will take 20*250ms = 5s. (I confirmed using phone's timer).

  • @javascriptwar9525
    @javascriptwar9525 6 ปีที่แล้ว

    per 250 milliseconds 100%-80% ?

  • @zakariachahboun
    @zakariachahboun 7 ปีที่แล้ว

    thank you for all informations

  • @gouthamnagraj5445
    @gouthamnagraj5445 9 ปีที่แล้ว

    good one

  • @miteshjain56
    @miteshjain56 6 ปีที่แล้ว

    Explanation not good

  • @nevillelam7999
    @nevillelam7999 4 ปีที่แล้ว

    it's toooo messy, sir i think you should get familiar with the contents yourself before showing this to us