You are not logged in.

Search results

Search results 41-48 of 48.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Sunday, July 5th 2009, 1:53pm

Author: birosys

Rectangle2D.Float missing

Hi A1880, Thanks for your response. Installed Jabaco is 1.4.2, but there is no float or double instance of any geometrics figure. This will be useful for runtime resizing and manipulating graphics drawings. Like: dim rct as java#awt#geom#Rectangle2D#Float=new java#awt#geom#Rectangle2D#Float(10,10,30,30) dim grx as java#awtGraphics2D=cast(Picture1.GetGraphics,java#awt#Graphics2D) grx.fill(rct)... and Picture1.MouseMove event... if rct.contains(x,y) then move, resize, etc.. Thanks again, Milan

Sunday, July 5th 2009, 11:24am

Author: birosys

Rectangle2D.Float missing

Hello to all! I need to use java.awt.geom.Rectangle2d.Float for my vector drawing program, but i can't find that class. Is there any way to include it in reference? Thanks, Milan

Wednesday, February 11th 2009, 2:48pm

Author: birosys

ContentFrame problem

My answer to my post. When adding new JAVA control to form, component container is form itself. But ContentFrame, where we draw JABACO component is VB#Picture, and she cannot be container for JAVA component. The solution is to set Form.ContentFrame.Opaque=False. This will set ContentFrame to be transparent, and we now can combine Java and Jabaco controls. Here is sample code and picture of it. Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Dim Con As Class Dim dbTable1 As quick#dbtable#DBTable =...

Wednesday, February 11th 2009, 2:08am

Author: birosys

ContentFrame problem

Hi guys Why ContentFrame of form dont draw java control on it? When i set ContentFrame.Visible to False, i got a control on form. Control name is Quick Table. If someone want to use this control, here is sample working code: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 Public Sub Form_Load() Dim Con As Class Dim dbTable1 As quick#dbtable#DBTable = New quick#dbtable#DBTable() Dim rs As ResultSet con=class.forName("org.firebirdsql.jdbc.FBDriver") me.add(dbTable1, BorderLayout.CENTER) Database1.Conn...

Monday, February 9th 2009, 8:24pm

Author: birosys

How to cast?

You are welcome

Monday, February 9th 2009, 2:39pm

Author: birosys

Type Casting

here is code Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Public Sub Command1_Click() Dim b1 As VB#CommandButton Dim b2 As VB#CommandButton Dim obj As Object b1 = Me.Command1 Msgbox b1.Caption obj = b1 ' OK b2 = Cast(obj,vb#CommandButton) Msgbox b2.Caption End Sub Cheers! Milan

Monday, February 9th 2009, 1:49pm

Author: birosys

FireBird JDBC Connection Working Example

Hi, there is working example with Jabaco & FireBird. Download JayBird from http://www.firebirdsql.org/index.php?op=devel&sub=jdbc and add to your Project->References file jaybird-full-2.1.6.jar Here is code: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 Public Sub Command1_Click() Dim con As Class Dim i As Integer Dim rs As ResultSet Dim noc As Long Dim Rows As Long con=class.forName("org.firebirdsql.jdbc.FBDriver") If con=Nothing Then msgbox "Driver is...

Monday, February 9th 2009, 2:29am

Author: birosys

FireBird JDBC Connection

Hello to all! I need a little help I am trying to connect a FireBird database, but i got error: at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at sun.misc.Launcher$ExtClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) ... 32 more What ...

WoltLab Burning Board