Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!

Miguel Enriquez

Ranch Hand
+ Follow
since Mar 13, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Miguel Enriquez

Hi all, wich framework recommend me for fast develop (JSP webpages).

thanks.
9 years ago
JSP
hi all.

i am development a small app, following this tutorial:

http://soft-mas.com/crear-aplicacion-usando-scene-builder-mysql-y-netbeans-parte-1/

http://soft-mas.com/crear-aplicacion-usando-scene-builder-mysql-y-netbeans-parte-2/

http://soft-mas.com/crear-aplicacion-usando-scene-builder-mysql-y-netbeans-parte-3/

my laptop on work have the 1366x768

work fine, and see the screen good, its OK

http://postimg.org/image/52y2cpvq9/

but i translate(transport) the app to my laptop at home (with different resolution) and the screen see horrible

http://postimg.org/image/8a4d9tfrb/

How to fix?

here my fxml file:

<?xml version="1.0" encoding="UTF-8"?>

<?import java.lang.*?>

<?import java.util.*?>

<?import javafx.scene.control.*?>

<?import javafx.scene.layout.*?>

<?import javafx.scene.paint.*?>

<?import javafx.scene.text.*?>

<?scenebuilder-background-color 0xffb800ff?>

<AnchorPane id="AnchorPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="353.0" prefWidth="600.0" xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/2.2">

<children>

<SplitPane dividerPositions="0.7073578595317725" focusTraversable="true" prefHeight="305.0" prefWidth="600.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="48.0">

<items>

<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="160.0" prefWidth="100.0">

<children>

<Label layoutX="14.0" layoutY="14.0" text="Nombre:" />

<TextField layoutX="14.0" layoutY="30.0" prefWidth="399.0" />

<Label layoutX="14.0" layoutY="52.0" text="Identificacion:" />

<TextField layoutX="14.0" layoutY="68.0" prefWidth="399.0" />

<Label layoutX="14.0" layoutY="90.0" text="Correo Electronico:" />

<TextField layoutX="14.0" layoutY="106.0" prefWidth="399.0" />

<Label layoutX="14.0" layoutY="127.0" text="Telefono:" />

<TextField layoutX="14.0" layoutY="143.0" prefWidth="399.0" />

<Label layoutX="14.0" layoutY="164.0" text="Direccion:" />

<TextField layoutX="14.0" layoutY="180.0" prefWidth="399.0" />

</children>

</AnchorPane>

<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="160.0" prefWidth="100.0">

<children>

<SplitPane dividerPositions="0.3554817275747508" focusTraversable="true" orientation="VERTICAL" prefHeight="398.0" prefWidth="172.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">

<items>

<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="105.0" prefWidth="170.0">

<children>

<Label layoutX="42.0" layoutY="6.0" text="BASE DE DATOS" />

<Button layoutX="39.0" layoutY="32.0" mnemonicParsing="false" prefWidth="86.0" text="Conectar" />

<Button layoutX="39.0" layoutY="74.0" mnemonicParsing="false" text="Desconectar" />

</children>

</AnchorPane>

<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="100.0" prefWidth="160.0">

<children>

<Label layoutX="14.0" layoutY="14.0" text="CRUD (Botones de Control)" />

<Button layoutX="45.0" layoutY="40.0" mnemonicParsing="false" prefWidth="74.0" text="Crear" />

<Button layoutX="45.0" layoutY="69.0" mnemonicParsing="false" prefWidth="74.0" text="Editar" />

<Button layoutX="44.0" layoutY="95.0" mnemonicParsing="false" prefWidth="74.0" text="Borrar" />

<Button layoutX="45.0" layoutY="127.0" mnemonicParsing="false" prefWidth="74.0" text="Buscar" />

</children>

</AnchorPane>

</items>

</SplitPane>

</children>

</AnchorPane>

</items>

</SplitPane>

<Label alignment="CENTER" layoutX="1.0" layoutY="0.0" prefHeight="48.0" prefWidth="600.0" text="AGENDA EN JAVA" textAlignment="CENTER" textFill="#330c00" textOverrun="ELLIPSIS">







</Label>

</children>

</AnchorPane>

9 years ago
Hi, how are you, i am want start to develop web pages(system on the web) but i not know which is the best language (.Net, Java, or anything else) for this type of development.

And can you recommend any IDE(similar to Java Scene Builder), tutorials?


thanks


9 years ago
Hi UD how are you, thanks for reply, understand that you recommend JSP and JSF, right?
wich is the way?

have some tutorials?

exist a tool same java scene builder for Rapid Development?

Thanks
9 years ago
interesting question, i am too wait a answer of the expert.


What about whis wikipedia link:

Comparison_of_C_Sharp_and_Java

thanks

[UD: fixed the link]
9 years ago
hi friend Rogers Cadenhead you recommend develop WebPages with?
JSP?
JSF?
JavaFX?
Applets?


thanks for your comments.
9 years ago
hi Rogers Cadenhead, Jnlp is the future? the documentation for me isnt clear, i look some tutorials, but none of these talk about create certificate for the jnlp file, any advice, any coment?

if can please give me some urls for read and practice.

Thanks, firend.
9 years ago
like me JavaFx with Scene Builder and NetBeans.
but i am preocupated if is a real way to develop.
i want change from Delphi(pascal) to java, but i am not sure.
wichis your advice?
if possible list tutorials: desktop app, web app, mobile app, thanks
Thanks
9 years ago
hi.

anyone can recommend me a tutorial, JavaScene builder + Netbeans?

or any course to buy?

Thanks
9 years ago
Sorry, the correct name of the component is JFrame Form, and in http://docs.oracle.com/javase/8/docs/api/ it appears like JFrame. I pass it like a parameter in a JInputPane, but now I can't close it when I finish using it. Using dispose or close doesn't work.

Thanks.
9 years ago
That's what I want to do, make a Jform appear like a Jdialog using JOptionPane, and the code that I show you can do it, but at the moment when I need to close it, I don't know how to do it, any ideas? What can I use on a button to do it?
Jform is a component of Java Swing i use Netbeans.

Thanks
9 years ago
The thing that I want to do is to create a modal window from a JForm(Swing), in order to make the code to stop when the window is executing, and continue when you close the form. I read that I can do it calling the JForm like a parameter of a JOptionPane, but now I don't know how to close it, because even dispose or close work. The new window keeps displaying.

RegistraFolios is the main window, and the This from the second code is the procedure from the Ok button of the second Jform, the one that I trying to make work like a modal one.

Note: I call it modal, but truly I don't know how you call it on Java, the modal term was used in Object Pascal.

Thanks in advantage.
9 years ago
hi all i have this code:

RegistraFolios dg = new RegistraFolios();
dg.dispose();
dg.setUndecorated(true);
dg.setLocationRelativeTo(null);
dg.setVisible(true);
JOptionPane.showInputDialog(dg);

in last line i show the form in modal mode.

how to free? i try this:

private void btnCloseActionPerformed(java.awt.event.ActionEvent evt) {
this.dispose();
}

but not work.


Thanks
9 years ago
i have been designed a Base Form and then i want extend it to others Forms?

In the Base Form i have:
-Grid Layot
-Panel
-Button
-Labels
-Text


in the extended form i want change, and add other controls.

then..................how do it? any link?

Thanks
9 years ago