Results 1 to 1 of 1

Thread: JavaFX problem

  1. #1
    ferfykins is offline Member
    Join Date
    Feb 2017
    Posts
    23
    Rep Power
    0

    Default JavaFX problem

    /EDIT NVM FIGURED IT OUT.... HAD TO ADD TO GLOBAL LIBRARIES






    http://i68.tinypic.com/2dspk07.png




    JavaFX problem-2dspk07.png



    Not sure why it's not working properly, help plz!!























    <?import javafx.geometry.Insets?>
    <?import javafx.scene.layout.GridPane?>

    <?import javafx.scene.control.Button?>
    <?import javafx.scene.control.Label?>
    <?import javafx.scene.image.ImageView?>
    <?import javafx.scene.image.Image?>
    <GridPane fx:controller="sample.Controller"
    xmlns:fx="http://javafx.com/fxml" alignment="center" hgap="10" vgap="10">
    <Button GridPane.rowIndex="0" GridPane.columnIndex="0" text="Click Me">
    <graphic>
    <ImageView>
    <Image url="@/toolbarButtonGraphics/general/TipOfTheDay24.gif"/>
    </ImageView>
    </graphic>
    </Button>
    </GridPane>
    Last edited by ferfykins; 07-21-2019 at 12:36 AM.

Similar Threads

  1. JavaFX Problem while dragging and scaling
    By klaus.willson in forum Advanced Java
    Replies: 1
    Last Post: 10-07-2016, 10:39 PM
  2. JavaFX Program - Problem with Scenes
    By pmyers0316 in forum JavaFX
    Replies: 5
    Last Post: 06-01-2015, 01:54 AM
  3. JavaFX Book | Learn JavaFX More In Depth
    By SnakeDoc in forum JavaFX
    Replies: 0
    Last Post: 05-17-2013, 11:10 PM
  4. Problem when resize graph JavaFX 2
    By susieferrari in forum JavaFX
    Replies: 13
    Last Post: 04-26-2012, 07:01 PM
  5. problem with playing video in javafx application
    By kiranblighty in forum JavaFX
    Replies: 1
    Last Post: 02-27-2010, 12:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •