java – Error con Windowbuilder Editor (V 1.9.5)

hace unos días compre un libro para aprender a programar en java y a la hora de utilizar el windowbuilder editor no me aparece nada en comparación con el libro que estoy usando como guía, me gustaría saber como evitar ese error o si conocen alguna solución, estoy usando java 16, anexo foto con el código que tengo (que es el que se genera al principio), anexo 3 fotos el como me aparece el programa windowbuilder editor, el código y lo que espero que me aparezca tomando como ejemplo una imagen del libro que estoy usando (el nombre del libro es “learn java the easy way”), gracias por su atención y disculpen las molestias

introducir la descripción de la imagen aquí

introducir la descripción de la imagen aquí

introducir la descripción de la imagen aquí

Allow editor access the custom plugin

I create a custom plugin that can also access the editor role,
why it doesn’t take any effect, is there something wrong in my code?

public function __construct()
    register_activation_hook( __FILE__, 'activate_plugin_name' );

public function activate_plugin_name() {
    $role = get_role( 'editor' );
    $role->add_cap( 'manage_options' ); 

Can’t access block editor (5.7) +

The Classic Editor plugin was used to disable Gutenberg on my site, by someone who was helping me.

The site was copied to another server and the Classic editor plugin was removed without switching back the setting. (Also the domain for the new server is different.)

I am using Divi, but want to edits posts with the Gutenberg editor

Now the site is stuck with the Classic editor

I reinstalled the Classic editor plugin and switched back to the Block editor as the default.

But the change is ignored – I cannot access the block editor

Every time I edit layout a new custom field appears:
value :classic editor.

Even if I remove it, it comes back when I edit the page again.


New cPanel Extended For WHMCS with DNS Zone Editor is ready! | NewProxyLists

1. Easter Hunt Winners Announced!

Are you excited about the grand finale of our Easter Discount Hunt just as much as we are?

With the holiday break over, we are thrilled to invite you to visit our Blog where the 6 lucky winners of our festive competition have been announced – check the results now and see if you snatched up an exclusive 25% discount applicable to all WHMCS modules offered at our Marketplace!

2. cPanel Extended For WHMCS 3.12.0

Our absolutely bestselling piece of software dedicated to all aspiring web hosting providers has just received another package of new features that may change just about everything. Ladies and gentlemen, let us show you around the spectacular cPanel Extended For WHMCS 3.12.0!

The most important addition guaranteed to steal your attention lies in DNS Zone Editor that unlocks so much new power to your clients as they will not have to login to cPanel at all in order to manage their DNS zones and records of cPanel domains.

Do not hesitate to consult the changelog for the rest of beneficial changes!

3. cPanel Extended For WHMCS is not the only module updated since last week. Ready to explore the other ones too?

Need Custom Software Development For Your Business?

Specially for you we will adapt an application and its design to your own needs, create a new module or even a completely new system built from scratch!


mathematics – How to project a Matcap correctly in Amplify Shader Editor

Unity’s Amplify Shader Editor comes with an example of matcap nodes setup, however, the matcap projection in this example is incorrect.
As you can see the texture becomes distorted when it’s on de edges of the screen, that shouldn’t happen with a correct matcap:

enter image description here

enter image description here

On the secoud image, this is how a matcap should look, without major distortions.

Does any expert in shaders knows the right way to project a matcap using the nodes? I’ve done my search and there is absolutelly no information about this around the internet, any response would add for this Shader documentation.
I’m extremelly in need that matcap works with this shader.

unity – How to add some organization to my PSD Imported image with bones generated by the Skin Editor

I have an Image in PSB format imported using the PSD Imported and I have generated bones using the Sprite Editor > Skinning Editor, all good.

The problem is that when I try to add some organization to the object in my inspector I can not do it without breaking the Prefab. We can just Unpack the prefab but then I can not modify the bones anymore using the Skinning Editor. I am trap here.

How can I add some organization to the generated Prefab?

enter image description here

c# – Unity Runtime Surface Snapping (Like Shift+Cntrl in Editor)

I am trying to allow the user of my VR game to move objects around using a pointer, then when holding down a button, snap to a grid and align to the highest surface, essentially replicating the Editor behavior or holding down shift+control and moving around a transform gizmo. (Try it, it’s fun!)

I have the grid part down, but can’t wrap my head around how to do the surface snapping.
Here is the code I have so far. I would appreciate any and all help!

// offsetPos is where the VR pointer is.
Vector3 offsetPos = pointer.objectControlPoint.transform.position + cursorOffset;
Vector3 newPos;
if (isSnapping) // Snap to ground code.
// I read previously to do this up then down thing, but It's not working as expected
    RaycastHit groundHit = new RaycastHit();
    if (Physics.Raycast(selectedObject.transform.position, Vector3.down, out groundHit))
         RaycastHit objectHit = new RaycastHit();
         if (Physics.Raycast(groundHit.point, Vector3.up, out objectHit))
                Vector3 snapDiff = groundHit.point - objectHit.point;
                snapYPos = snapDiff.y + (selectedObject.collider.bounds.extents.y);
      // worldGrid is a monoBehavior on another object, and gridCellSize is just a float
      float gridPosX = Mathf.Floor(offsetPos.x / worldGrid.gridCellSize) * worldGrid.gridCellSize;
      float gridPosZ = Mathf.Floor(offsetPos.z / worldGrid.gridCellSize) * worldGrid.gridCellSize;
      newPos = new Vector3(gridPosX, snapYPos, gridPosZ); // Sets the target position to the nearest grid cell, with a Y of the snap position.
else // If not in snap mode, set target position to just the VR cursor.
       newPos = new Vector3(offsetPos.x, offsetPos.y, offsetPos.z);
// I know lerp might not be the most efficient, but I like the smooth effect, and it looks good when snapping to the grid...
selectedObject.transform.position = Vector3.Lerp(selectedObject.transform.position, newPos, movementLerpSpeed * Time.deltaTime);

The objects I need to be snapping all are different sizes and have their origins in different places, but all do have appropriate box colliders.

Thanks so much!

css – PineGrow a good HTML editor?

I’m a front-end developer and have been using Adobe Dreamweaver for years. But it just has so many weird glitches that never seem to get fixed, and they drive me crazy. Now I’m getting into CSS Grids, and Dreamweaver flags any “fr” units as errors, so I think I’m ready to try something else.

A colleague introduced me to PineGrow, which supports visual representations of CSS Grids within the app. It looks pretty cool, but as someone who writes their own code from scratch, I’m wondering if this type of visual layout app would be more cumbersome than helpful to someone who knows HTML and CSS well?

Does anyone have a strong opinion of PineGrow? Any other HTML editors you’d care to recommend?

magento2 – WYSIWYG Editor Issue in UI Component multi row not working

I have created dynamic rows with multiple descriptions filed(1 In a row) with the WYSIWYG editor.

Editor showing and working with first one-row element and rest element which added by adding more it’s not working.

I have added a dynamic row by below code

<dynamicRows name="dynamic_rows">
        <addButtonLabel translate="true">Add More</addButtonLabel>
            <class name="admin__field-wide">true</class>
    <container name="record" component="Magento_Ui/js/dynamic-rows/record">
        <argument name="data" xsi:type="array">
            <item name="config" xsi:type="array">
                <item name="isTemplate" xsi:type="boolean">true</item>
                <item name="is_collection" xsi:type="boolean">true</item>
                <item name="componentType" xsi:type="string">container</item>
        <field name="category_description" formElement="wysiwyg" sortOrder="40">
            <argument name="data" xsi:type="array">
                <item name="config" xsi:type="array">
                    <item name="wysiwygConfigData" xsi:type="array">
                        <item name="height" xsi:type="string">100px</item>
                        <item name="add_variables" xsi:type="boolean">false</item>
                        <item name="add_widgets" xsi:type="boolean">false</item>
                        <item name="add_images" xsi:type="boolean">false</item>
                        <item name="add_directives" xsi:type="boolean">false</item>
                    <item name="source" xsi:type="string">sun_brand</item>
                    <rule name="required-entry" xsi:type="boolean">true</rule>
                <label translate="true">Description</label>
                <wysiwyg class="MagentoUiComponentFormElementWysiwyg">
        <actionDelete sortOrder="50">
            <argument name="data" xsi:type="array">
                <item name="config" xsi:type="array">
                    <item name="componentType" xsi:type="string">actionDelete</item>
                    <item name="dataType" xsi:type="string">text</item>
                    <item name="fit" xsi:type="boolean">false</item>
                    <item name="label" xsi:type="string">Actions</item>
                    <item name="additionalClasses" xsi:type="string">data-grid-actions-cell</item>
                    <item name="template" xsi:type="string">Magento_Backend/dynamic-rows/cells/action-delete</item>

and it’s showing like this.
enter image description here

But show/hide button not working, when we add two rows it’s working perfectly with a single row

We provide photo background removal services for $4

we can serve you with extra services. Good service and guaranteed quality. we are here to help you whenever you want. You can order services here for an extra low price

by: Suryawan
Created: —
Category: Art & Design
Viewed: 234