tag:blogger.com,1999:blog-4691915549420037229.post6584817792590128706..comments2023-10-02T08:22:09.656-07:00Comments on The LWUIT Blog: Sliding It Back To My First PostOfir Leitnerhttp://www.blogger.com/profile/08721818051943678344noreply@blogger.comBlogger16125tag:blogger.com,1999:blog-4691915549420037229.post-51756707296153787532012-06-25T07:55:17.442-07:002012-06-25T07:55:17.442-07:00How about to use the slider as progress bar if I u...How about to use the slider as progress bar if I use the Resource Editor and after the progress bar complete 100% it will continue at next form?<br /><br />-Thanks-Zettahttps://www.blogger.com/profile/05047976769971654413noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-90200862181433242202012-04-18T02:07:25.968-07:002012-04-18T02:07:25.968-07:00how to get seekbar in lwuit for audio/video player...how to get seekbar in lwuit for audio/video player using slidercomponent ????Box Office Kinghttps://www.blogger.com/profile/15262730749186612459noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-39532809370211649732011-10-06T05:34:56.582-07:002011-10-06T05:34:56.582-07:00The source has nothing in it. The resource file is...The source has nothing in it. The resource file is the entire thing, it won't help much in understanding how this works though.Shai Almoghttp://www.blogger.com/profile/00438710609860092709noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-21147952749928568212011-07-07T01:00:29.387-07:002011-07-07T01:00:29.387-07:00Slider has two styles Slider and SliderFull. If yo...Slider has two styles Slider and SliderFull. If you invoke setUIID("Progress") on slider then the second style will become ProgressFull etc.<br>Essentially just create the two styles for both selected and unselected styles, within them define an image border matching the style you want. You can use a 9-image border and the 9-image border wizard to achieve these styles.Shai Almoghttp://www.blogger.com/profile/00438710609860092709noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-78537388262708098712011-07-06T22:41:46.456-07:002011-07-06T22:41:46.456-07:00Hi! Can you explain how did you change style of th...Hi! Can you explain how did you change style of the progress barKvesthttp://www.blogger.com/profile/17055985844725463624noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-65034715048471897532011-02-03T03:24:23.262-08:002011-02-03T03:24:23.262-08:00Brian please see my response to gavdian above, you...Brian please see my response to gavdian above, you need to customize the theme.Shai Almoghttp://www.blogger.com/profile/00438710609860092709noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-84228756805252878852011-02-01T23:23:13.467-08:002011-02-01T23:23:13.467-08:00got it! But When I run the code only the percentag...got it! But When I run the code only the percentage is visible :-(Brian Kiptoohttp://www.blogger.com/profile/15345440882686582632noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-4096379729708654892011-01-25T06:19:51.392-08:002011-01-25T06:19:51.392-08:00I was just missing the setEditable() :S Thanx for ...I was just missing the setEditable() :S Thanx for your time Shai!gavdianhttp://www.blogger.com/profile/18247410092251288390noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-11966042862152372062011-01-16T04:37:02.038-08:002011-01-16T04:37:02.038-08:00I don't understand your problem?You are able t...I don't understand your problem?<br>You are able to customize the slider color right? Just set a background image, image border... Whatever to make it look as you want.<br>If you want the slider to be editable just invoke setEditable.Shai Almoghttp://www.blogger.com/profile/00438710609860092709noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-80610156696577528682011-01-13T07:02:06.182-08:002011-01-13T07:02:06.182-08:00I executed the jar I found in LWUIT SVN: www ->...I executed the jar I found in LWUIT SVN: www -> designer directory. I added fgColour and bgColour to the Slider and the SliderFull components. (FYI the Slider component cannot be found in the component's list which gets displayed when you press the "Add" button in the Themes tab but only in the GUI tab when added - Only the SliderFull component can be found in the Themes tab).<br><br>The code for that is as simple as this: <br><br>- Slider volSlider = new Slider();<br>- volSlider.setMinValue(0);<br>- volSlider.setMaxValue(100);<br>- container.addComponent(volSlider);<br><br>My problem is that I still see a white (colour depends on the Slider's background colour if I remember correctly) box instead of the Slider.<br><br>I just want to add a slider from 0 to 100 and use it as a volume control. The user must be able to interact with it.<br><br>Any help around?gavdianhttp://www.blogger.com/profile/18247410092251288390noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-37054141486806593852011-01-13T01:06:27.753-08:002011-01-13T01:06:27.753-08:00Follow the resource editor tutorials, just add a t...Follow the resource editor tutorials, just add a theme and add styles for Slider/SliderFull.Shai Almoghttp://www.blogger.com/profile/00438710609860092709noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-18945827163381143022011-01-12T03:55:17.411-08:002011-01-12T03:55:17.411-08:00Unfortunately I only see a white rectangle instead...Unfortunately I only see a white rectangle instead of the slider :(<br><br>Probably the problem is here:<br>"To create such a theme I just customized the "Slider" and "SliderFull" styles with a border for the full state and the empty state (essentially the squares in the center are just the style of SliderFull painted on top of a style of Slider).<br>"<br><br>How can I do that?gavdianhttp://www.blogger.com/profile/18247410092251288390noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-59275038713689559042010-09-22T15:31:50.357-07:002010-09-22T15:31:50.357-07:00I've solved the problem fixing some imports. S...I've solved the problem fixing some imports. Slider works like a charm!<br><br>Regards.<br>Lucas M. NobileLucas M Nobilehttp://www.blogger.com/profile/04265565607022879939noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-73955299119032275322010-09-22T15:13:44.083-07:002010-09-22T15:13:44.083-07:00Hi Shai, I can't use the Slider Component. I s...Hi Shai, I can't use the Slider Component. I saw the Slider code and I think there aren´t the "Slider" and "SliderFull" Styles used in UIManager.getInstance().getComponentStyle(...). Also I have the last version of LWUIT (1.4). How can I use properly the Slider Component? <br><br>Regards.<br>Lucas M. NobileLucas M Nobilehttp://www.blogger.com/profile/04265565607022879939noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-77726017227077843182010-08-09T08:58:45.987-07:002010-08-09T08:58:45.987-07:00How can someone get this?Do we have to wait for th...How can someone get this?<br>Do we have to wait for the next official release?רוןhttp://www.blogger.com/profile/00273866522852114750noreply@blogger.comtag:blogger.com,1999:blog-4691915549420037229.post-52497015504900548512010-08-06T08:29:33.699-07:002010-08-06T08:29:33.699-07:00I'm trying to do this but I cannot find the Co...I'm trying to do this but I cannot find the Component "Slide". I'm new at your blog so maybe I'm missing something from the past. I'd be grateful if someone could explain me where is this "Slide" coming from.<br><br>By the way, congratulations for the new release, I hope that under Oracle's umbrella everything will keep being as good as now. Thanks for your work!Julio J.http://www.blogger.com/profile/02097545509377840830noreply@blogger.com