b4j

  1. james_sgp

    B4J Virus/Malware issues

    Hi, I'm having a lot of issues with my McAfee Anti-Virus and Malwarebytes quarantining my apps. It`s quarantining standalone apps, and now I`m trying to get my app to print to a printer (in debug mode) its quarantining that too. I do understand as Java is trying to open other windows and...
  2. erol34

    B4J Tutorial jSerial + AsyncStreamsText + com0com (virtual serial port)

    Hello friends, This is my first but not last post in forum :D When I checked B4J_chat.zip file in Erel's post, I see that there is an old .fxml designer file that can not be recognized by B4J 9.8. I succeed to convert 1.fxml to 1.bjl file and succeed to make communicate Hercules (a terminal...
  3. W

    B4J Question [SOLVED] Exception with ListSelectionView and B4XDialog? ("Button.disable : A bound value cannot be set.")

    Hi all, I hope someone can shed some light on this one. The attached project is intended to show a B4XDialog with a layout that contains a ListSelectionView from the jControlsFX9 library (the same happens with the jControlsFX library). When clicking either OK or Cancel on the B4XDialog, this...
  4. james_sgp

    B4J Question SD XUIScrollView2D , Horizontal Slider size

    HI, i`m using the SD XUI 2D slider library (version 0.13) in a B4J app but the horizontal slider doesn`t fill pane width (see picture). Pane is larger than screen, and object anchors are set to fill width? Can anyone help? Thanks, James
  5. stevel05

    B4J Library [B4j] Javax print wrapper for UI and non-UI apps.

    This is a wrap of the Javax print API. It is more complex to use than the Javafx print API but does have a few benefits such as being usable in non-UI apps and access to java Swing printable interface which makes it easy to print the content of swing nodes. The main example app contains an...
  6. A

    Share My Creation Books library1.0

    Hi All, i would like to share my humble contribution to this community , hope you like it it is an online books library where you can search and download books for any subject here is the UI snapshot: you can download and try it from here bookslibrary v1.0 please share your thoughts and...
  7. yo3ggx

    B4J Question Compiling b4j app for 32bit windows

    Hello everybody. I have a b4j 64bit application working with no issues. I want to make a build for 32bit Windows. If i just use the jar file with 32bit java8 from Oracle, I get the following error message: Exception in thread "JavaFX Application Thread" Exception in thread "main"...
  8. stevel05

    B4J Code Snippet B4j Print JavaFX8 Create custom paper

    I came across this snippet when helping a user on the forum and thought it may be more widely useful: Create a Paper instance, 'Create a new Paper 'Units should be one of MM, INCH or POINT Public Sub CreatePaper(Name As String, Width As Double, Height As Double, Units As String) As Paper...
  9. stevel05

    B4J Library [DSE] Shapes - Shape Nodes

    This class contains designer extension script methods based on the snippets I previously posted with some enhancements that make it too complex to post as snippets. You should now be able to shape and rotate any node, text alignment is currently handled for Button, Label, Radiobutton and...
  10. W

    B4J Code Snippet [XLUtils] [jPOI5] Detect/unhide hidden rows and columns in a worksheet

    Dim i As Int Dim theSheet As PoiSheet = ... Dim joTheSheet As JavaObject = theSheet Dim theSheetWriter As XLSheetWriter = ... Dim theSheetLastRow1 As Int = theSheet.LastRowNumber + 1 ' One-based index of the last row in the sheet Dim theSheetLastCol0 As Int = theSheet.GetRow(0).Cells.Size - 1 '...
  11. stevel05

    B4J Code Snippet {DSE] Button Shapes

    These methods are now included in DSE_Shapes class which provides more functionality. Here are several Designer script extension methods that allow buttons to be shaped and rotated. It's a bit of a novelty, but may come in useful at some time. Each shape method also attempts to apply...
  12. stevel05

    B4J Code Snippet [DSE] SetToggleGroup (RadioButton / ToggleButton)

    A designer script extension that allows control over the grouping of Toggles (RadioButton And ToggleButtons) so that only one from the group can be selected at a time. B4x automatically groups RadioButtons on the same Pane. You can use this to change that behaviour which may, or may not, make...
  13. stevel05

    B4J Code Snippet [DSE] SetLabelTextOverrun behaviour.

    It seems more appropriate to post small Designer Script Extensions here so here another one. Set the TextOverrun behavior for a Label. Usage: {Class}.SetLabelTextOverrun("CENTER_WORD_ELLIPSIS",Label2,Label3) {Class} is whichever class you put the method in. You can set the same behaviour on...
  14. stevel05

    B4J Library [B4j] [DSE] CSSStyleClass Designer Script Extension

    With the new Designer Script Extensions, Erel has given us Class Names for views similar to the B4j CSS class names. For those wanting to use the actual CSS classes and styling in B4j, it is just as easy to add CSS class names to Nodes directly in the designer using the Designer Script...
  15. drgottjr

    B4J Library (Max)Mind Your Own Business

    a forum member mentioned maxmind many years ago. maxmind is a database company specializing in, among other things, mapping ip addresses to locations and networks. they have for a long time made a version of their product available free of charge. not for commercial use, naturally. a few...
  16. J

    B4J Question [B4X] jRDC2 - Issues with sql command not found

    Hello I'm experimenting with the jRDC2 tool, but at this point, I'm receiving a weird issue. I created a sql query, just like in this tutorial, but for some queries I receive the message that the command could not be found out of the config.properties file. jRDC2 server: #SQL COMMANDS #...
  17. pejmannikravan

    What are the promotional plans for B4X?

    hello dears and B4X team. We all know that B4X has improved dramatically over the years... But the main problem is that the B4X developer community is very small and the number of developers is small, perhaps due to lack of advertising! The B4X has great potential, but I don't think anyone knows...
  18. S

    B4J Question PHP file not parsing parameter string from Poststring

    Hello, i've a strange problem which costed me quite a bit of time to debug, still I don't know why my php file won't accept the string of parameters. Note that the php files are working well, I use them on other projects in combination with another development environment. So at a certain point...
  19. epiCode

    B4J Library [B4J] [Class] CLVDragger Mod v8 with OrderChanged Event

    CustomListView with Drag and Drop Support for items based on Erel's Class CLVDragger Modifications: v8 1. Added Callback Support 2. Added Event: OrderChanged ( ItemIndex as int , NewIndex as Int) ItemIndex: Item which was dragged NewIndex: Where item was dropped
  20. V

    B4J Question Error JPOI

    Hello everyone, I've been using B4J for a while, but now i run into problems. I wrote a module that reads MT940 files. That works very well so far. The problem is that I have to write the balances of the bank accounts into an existing EXCEL file. In the development environment it works...
Top