- 博客(7)
- 收藏
- 关注
原创 javafx 表格样式基本(表头颜色)
前两个去除表格横竖线.table-view .table-row-cell { -fx-background-insets: 0;}.table-view .table-row-cell .table-cell { -fx-border-width: 0px;}/***表格边框颜色*/.table-view *.column-header-background { /* FX
2016-10-22 21:55:20
5296
原创 各种日期类型之间的转换
package util;import java.text.ParseException;import java.text.SimpleDateFormat;import java.time.Instant;import java.time.LocalDate;import java.time.LocalDateTime;import java.time.LocalTime;import
2016-10-20 22:00:25
4390
原创 comboBox 自动完成搜索功能
package util;import javafx.collections.FXCollections;import javafx.collections.ObservableList;import javafx.event.EventHandler;import javafx.scene.control.ComboBox;import javafx.scene.input.KeyCode
2016-10-20 21:57:57
3654
原创 javafx 实现提示条位置 自动隐藏
t.show(control, GetScreen.getScreenX(control), GetScreen.getScreenY(control)-30); t.setAutoHide(true);
2016-10-16 16:49:56
1474
原创 javafx 获取control的坐标
public class GetScreen { /** * * @param control * @return */ public static double getScreenX(Control control){ return control.getScene().getWindow().getX()+control.g
2016-10-16 16:47:05
3719
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人