Comments (6)
I use 8.0-r3 version
from jfxtras.
I'll take a peek tonight, see what is causing this. No exceptions in the console?
Tom
On 26-11-2014 14:28, VincentBonnafous wrote:
Hi,
Your lib is great, nice job
But, i create a CalendarTimtextField with a format and a timezone.
with this code :
final CalendarTimeTextField lCalendarTimePicker= new CalendarTimeTextField();
SimpleDateFormat timeFormat= new SimpleDateFormat("HH:mm:ss");
timeFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
lCalendarTimePicker.setDateFormat(timeFormat);and the drop combo don't display the first slider for the hours.
datepickerdrop https://cloud.githubusercontent.com/assets/9962744/5201910/646828aa-7578-11e4-912c-de6e37549688.png
—
Reply to this email directly or view it on GitHub #16.
from jfxtras.
No message in the console
Thanks, here is the complete code to test quickly.
public class CalendarTimePickerSample1 extends Application {
private Stage stage;
public static void main(String[] args) {
Locale.setDefault(Locale.US);
launch(args);
}
@Override
public void start(Stage stage) {
this.stage = stage;
stage.setTitle("DatePickerSample ");
initUI();
stage.show();
}
private void initUI() {
GridPane lGridPane = new GridPane();
lGridPane.setVgap(10);
Scene scene = new Scene(lGridPane, 400, 400);
stage.setScene(scene);
final CalendarTimeTextField lCalendarTimePicker = new CalendarTimeTextField();
SimpleDateFormat timeFormat = new SimpleDateFormat("HH:mm:ss");
timeFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
lCalendarTimePicker.setDateFormat(timeFormat);
lGridPane.add(lCalendarTimePicker, 0, 0, 2, 1);
}
}
from jfxtras.
Well, that is interesting, setting a timezone in a totally none timezone string renderer. The time picker indeed was not handling it right, I fixed that I hope (please try r4-SNAPSHOT and reopen if I did not), but what is much more interesting is what you want to achieve with setting that timezone.
from jfxtras.
OK(It works).
I work in the spatial domain for the CNES ( French Spatial Agence) and the people use dates in UTC
from jfxtras.
Ok, But it does not make any difference for the time picker what timezone it is in, it simply selects hours from 0 to 23 (or 0 AM to 11 PM). That is the same in any timezone, so setting the timezone has no value.
But it is good to hear that it is solved.
from jfxtras.
Related Issues (20)
- Error setting calendar for CalendarPicker HOT 17
- Agenda hours HOT 1
- JFxtras UI bug when try to switch skin into day view and week view HOT 3
- JFXtras not building HOT 1
- Module trouble with VFXWindows-samples HOT 1
- Broken versioning in Maven Central HOT 1
- NullPointerException when parsing VCalendar HOT 1
- Microsoft Outlook use different time zone id's HOT 6
- DateTimePicker in Vbox with Hgrow not working HOT 3
- NullPointerException when opening advance edit or edit on already created event.
- Exception with HOT 7
- how can use gsls shader in javafx? HOT 1
- how to use JFxtras with Scenebuilder on Netbeans 8.2? HOT 1
- Maven jfxtras-test-support Test Scope HOT 10
- Minor - Broken link
- Release JFXtras built on JavaFX 17 HOT 1
- incorrect link HOT 2
- JMetro dark theme with localDateTimeTextField barely readable HOT 4
- Agenda with specific hour range HOT 3
- Agenda display appointment
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jfxtras.