@FXML
public void initialize() {
lblUserFullName.setText(userFullName()+" "); //show user full name on Menu
lblWalletBalance.setText(addThousandSeparator(getWalletBalance())); //show current wallet balance
CashCalculate(); //set all field initialize value to 0
// add tooltip on mouse hover
btnDashboard.setTooltip(new Tooltip("Will Take you to Dashboard"));
btnMakeATransaction.setTooltip(new Tooltip("Will Take you to Expense"));
btnSignOut.setTooltip(new Tooltip("Sign Out from Application"));
Tooltip.install(lblWalletBalance, new Tooltip("Your wallet balance now"));
Tooltip.install(lblUserFullName, new Tooltip("User's Full Name"));
Tooltip.install(txt1000, new Tooltip("Number of 1000 Tk. Notes in your hand"));
Tooltip.install(txt500, new Tooltip("Number of 500 Tk. Notes in your hand"));
Tooltip.install(txt100, new Tooltip("Number of 100 Tk. Notes in your hand"));
Tooltip.install(txt50, new Tooltip("Number of 50 Tk. Notes in your hand"));
Tooltip.install(txt20, new Tooltip("Number of 20 Tk. Notes in your hand"));
Tooltip.install(txt10, new Tooltip("Number of 10 Tk. Notes in your hand"));
Tooltip.install(txt5, new Tooltip("Number of 5 Tk. Notes in your hand"));
Tooltip.install(txt2, new Tooltip("Number of 2 Tk. Notes in your hand"));
Tooltip.install(txt1, new Tooltip("Number of 1 Tk. Notes in your hand"));
}
CashCalculateController.java 文件源码
java
阅读 34
收藏 0
点赞 0
评论 0
项目:Money-Manager
作者:
评论列表
文章目录